Avoid hiding virtual wxWindow::IsEnabled() in wxMenuBar class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -450,6 +450,7 @@ public:
|
|||||||
void Check(int itemid, bool check);
|
void Check(int itemid, bool check);
|
||||||
bool IsChecked(int itemid) const;
|
bool IsChecked(int itemid) const;
|
||||||
bool IsEnabled(int itemid) const;
|
bool IsEnabled(int itemid) const;
|
||||||
|
virtual bool IsEnabled() const { return wxWindow::IsEnabled(); }
|
||||||
|
|
||||||
void SetLabel(int itemid, const wxString &label);
|
void SetLabel(int itemid, const wxString &label);
|
||||||
wxString GetLabel(int itemid) const;
|
wxString GetLabel(int itemid) const;
|
||||||
|
Reference in New Issue
Block a user