wxString value = GetValue();
wxPoint pos = GetPosition();
wxSize size = GetSize();
+ size.y = GetBestSize().y;
wxArrayString strings = GetStrings();
wxComboBox::DoClear();
{
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
}
+
+ ::SendMessage(GetHwnd(), CB_SETITEMHEIGHT, 0, MeasureItem(0));
}
wxBitmapComboBox::~wxBitmapComboBox()
return true;
}
-
+
return false;
}
if ( pos == -1 )
return FALSE;
- int flags = 0;
+ int flags = 0;
if ( lpDrawItem->itemState & ODS_COMBOBOXEDIT )
flags |= wxODCB_PAINTING_CONTROL;
if ( lpDrawItem->itemState & ODS_SELECTED )