X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f696015cf1e474315b63823d697a5fa0462055b7..438959cca892a7651634cc3a7aad4819ac49b23c:/include/wx/msw/bmpcbox.h?ds=sidebyside diff --git a/include/wx/msw/bmpcbox.h b/include/wx/msw/bmpcbox.h index b2c7e90a41..ffc843c1bc 100644 --- a/include/wx/msw/bmpcbox.h +++ b/include/wx/msw/bmpcbox.h @@ -3,7 +3,7 @@ // Purpose: wxBitmapComboBox // Author: Jaakko Salli // Created: 2008-04-06 -// RCS-ID: $Id:$ +// RCS-ID: $Id$ // Copyright: (c) 2008 Jaakko Salli // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -85,6 +85,8 @@ public: // 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); @@ -107,8 +109,6 @@ protected: // Event handlers void OnSize(wxSizeEvent& event); - virtual bool SetFont(const wxFont& font); - virtual wxItemContainer* GetItemContainer() { return this; } virtual wxWindow* GetControl() { return this; } @@ -120,6 +120,7 @@ protected: virtual void DoDeleteOneItem(unsigned int n); virtual bool OnAddBitmap(const wxBitmap& bitmap); + virtual wxSize DoGetBestSize() const; void RecreateControl(); private: