// Sets the image for the given item.
virtual void SetItemBitmap(unsigned int n, const wxBitmap& bitmap);
+ virtual bool SetFont(const wxFont& font);
+
// Adds item with image to the end of the combo box.
int Append(const wxString& item, const wxBitmap& bitmap = wxNullBitmap);
int Append(const wxString& item, const wxBitmap& bitmap, void *clientData);
// Event handlers
void OnSize(wxSizeEvent& event);
- virtual bool SetFont(const wxFont& font);
-
virtual wxItemContainer* GetItemContainer() { return this; }
virtual wxWindow* GetControl() { return this; }
virtual void DoDeleteOneItem(unsigned int n);
virtual bool OnAddBitmap(const wxBitmap& bitmap);
+ virtual wxSize DoGetBestSize() const;
void RecreateControl();
private: