X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3dfac9707a98b245370bdffdf3fd30def0122a8d..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/msw/menuitem.h?ds=sidebyside diff --git a/include/wx/msw/menuitem.h b/include/wx/msw/menuitem.h index eaced8f990..1be7c53921 100644 --- a/include/wx/msw/menuitem.h +++ b/include/wx/msw/menuitem.h @@ -49,7 +49,11 @@ public: virtual void Enable(bool bDoEnable = TRUE); virtual void Check(bool bDoCheck = TRUE); - virtual void IsChecked() const; + virtual bool IsChecked() const; + +#if wxUSE_ACCEL + virtual wxAcceleratorEntry *GetAccel() const; +#endif // wxUSE_ACCEL // unfortunately needed to resolve ambiguity between // wxMenuItemBase::IsCheckable() and wxOwnerDrawn::IsCheckable() @@ -60,9 +64,6 @@ public: // menu handle depending on what we're int GetRealId() const; - // delete the submenu - void DeleteSubMenu(); - private: DECLARE_DYNAMIC_CLASS(wxMenuItem) };