]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menu.h
removed wxUSE_MENU_CALLBACK references: the code inside the #if couldn't compile...
[wxWidgets.git] / include / wx / menu.h
index be2b692a1aaaa9818ef2772bae87b90006095bd2..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;
@@ -498,6 +499,8 @@ protected:
 #else // !wxUSE_BASE_CLASSES_ONLY
 #if defined(__WXUNIVERSAL__)
     #include "wx/univ/menu.h"
+#elif defined(__WXPALMOS__)
+    #include "wx/palmos/menu.h"
 #elif defined(__WXMSW__)
     #include "wx/msw/menu.h"
 #elif defined(__WXMOTIF__)