Make SetFont() public (fixes #9641)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -85,6 +85,8 @@ public:
|
|||||||
// Sets the image for the given item.
|
// Sets the image for the given item.
|
||||||
virtual void SetItemBitmap(unsigned int n, const wxBitmap& bitmap);
|
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.
|
// 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 = wxNullBitmap);
|
||||||
int Append(const wxString& item, const wxBitmap& bitmap, void *clientData);
|
int Append(const wxString& item, const wxBitmap& bitmap, void *clientData);
|
||||||
@@ -107,8 +109,6 @@ protected:
|
|||||||
// Event handlers
|
// Event handlers
|
||||||
void OnSize(wxSizeEvent& event);
|
void OnSize(wxSizeEvent& event);
|
||||||
|
|
||||||
virtual bool SetFont(const wxFont& font);
|
|
||||||
|
|
||||||
virtual wxItemContainer* GetItemContainer() { return this; }
|
virtual wxItemContainer* GetItemContainer() { return this; }
|
||||||
virtual wxWindow* GetControl() { return this; }
|
virtual wxWindow* GetControl() { return this; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user