diff --git a/include/wx/generic/bmpcbox.h b/include/wx/generic/bmpcbox.h index d0e616d40a..3ea404a5e4 100644 --- a/include/wx/generic/bmpcbox.h +++ b/include/wx/generic/bmpcbox.h @@ -100,6 +100,7 @@ public: // Sets the image for the given item. virtual void SetItemBitmap(unsigned int n, const wxBitmap& bitmap); + virtual bool SetFont(const wxFont& font); protected: @@ -112,7 +113,6 @@ protected: void OnSize(wxSizeEvent& event); virtual wxSize DoGetBestSize() const; - virtual bool SetFont(const wxFont& font); virtual wxItemContainer* GetItemContainer() { return this; } virtual wxWindow* GetControl() { return this; }