]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/menuitem.h
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / include / wx / os2 / menuitem.h
index 4e36724c7e78cb10c880014ca97f263bc47d6f52..33a41cef6216da15c0c1f60ad4ba0224c6067198 100644 (file)
@@ -44,7 +44,7 @@ class WXDLLEXPORT wxMenuItem: public wxMenuItemBase
 public:
     // ctor & dtor
     wxMenuItem( wxMenu*         pParentMenu = NULL
-               ,int             nId = ID_SEPARATOR
+               ,int             nId = wxID_SEPARATOR
                ,const wxString& rStrName = ""
                ,const wxString& rWxHelp = ""
                ,bool            bCheckable = FALSE
@@ -60,10 +60,6 @@ public:
     virtual void Check(bool bDoCheck = TRUE);
     virtual bool IsChecked(void) const;
 
-#if wxUSE_ACCEL
-    virtual wxAcceleratorEntry* GetAccel(void) const;
-#endif // wxUSE_ACCEL
-
     // unfortunately needed to resolve ambiguity between
     // wxMenuItemBase::IsCheckable() and wxOwnerDrawn::IsCheckable()
     bool IsCheckable(void) const { return wxMenuItemBase::IsCheckable(); }