24 const wxPoint& pos,
const wxSize& size,
int n,
25 const wxString choices[],
long style,
26 const wxValidator& validator,
const wxString&
name ) :
27 wxBitmapComboBox( parent, id, value, pos, size, n, choices, style, validator,
name )
34 wxSize size = wxBitmapComboBox::DoGetBestSize();
37 wxSize bmpSize = GetBitmapSize();
47 int overhead = size.y - GetCharHeight();
48 size.y = std::max( size.y, bmpSize.y + overhead + 4 );
56 size.x += bmpSize.x + 4;
59#if !wxCHECK_VERSION( 3, 2, 9 )
62 wxTextCtrl dummyCtrl( m_parent, wxID_ANY );
65 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))