I have a wx.Choice control in glade however I am not sure how I would be able to set the default size of the control to be equivalent to x number of characters.
Is there a way to set the initial size of the widget inside wxGlade, to be the length of an expected string (in pixels)?
wx.Choice.SetInitialSize(dc.GetTextExtent("expected string")[0])