]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menu.h
GCC 4.0 (Apple 4059) is a little bit pickier than 3.3.
[wxWidgets.git] / include / wx / menu.h
index ba9f52ea932cbe2233f3f31c7a16e336f6d8ab83..6e1e91a5ad2790128b9bf7c8fbe498c556ee5f9a 100644 (file)
@@ -450,6 +450,7 @@ public:
     void Check(int itemid, bool check);
     bool IsChecked(int itemid) const;
     bool IsEnabled(int itemid) const;
+    virtual bool IsEnabled() const { return wxWindow::IsEnabled(); }
 
     void SetLabel(int itemid, const wxString &label);
     wxString GetLabel(int itemid) const;