how to get the width of a string in pixels?,"width, height = dc.GetTextExtent('Text to measure')"