X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/41fb3475406380b4a5411f0e4d820061155204d4..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/msw/bmpcbox.h?ds=inline diff --git a/include/wx/msw/bmpcbox.h b/include/wx/msw/bmpcbox.h index 0942202095..ffc843c1bc 100644 --- a/include/wx/msw/bmpcbox.h +++ b/include/wx/msw/bmpcbox.h @@ -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: