28 const wxPoint& pos,
const wxSize& size,
int n,
29 const wxString choices[],
long style,
30 const wxValidator& validator,
const wxString&
name ) :
31 wxBitmapComboBox( parent, id, value, pos, size, n, choices, style, validator,
name )
38 wxSize size = wxBitmapComboBox::DoGetBestSize();
41 wxSize bmpSize = GetBitmapSize();
51 int overhead = size.y - GetCharHeight();
52 size.y = std::max( size.y, bmpSize.y + overhead + 4 );
60 size.x += bmpSize.x + 4;
63#if !wxCHECK_VERSION( 3, 2, 9 )
66 wxTextCtrl dummyCtrl( m_parent, wxID_ANY );
69 size.y = std::max( size.y, dummyCtrl.GetBestHeight( dummyWidth ) + 4 );
WX_BITMAP_COMBOBOX(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &value=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int n=0, const wxString choices[]=NULL, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxASCII_STR(wxBitmapComboBoxNameStr))