From ed8f00db2c03432c0bfa0c9f1d952891f598b413 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Sun, 25 Jul 2010 07:39:17 +0000 Subject: [PATCH] Make SetFont() public (fixes #9641) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/bmpcbox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/msw/bmpcbox.h b/include/wx/msw/bmpcbox.h index 1812a9f204..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; } -- 2.45.2