X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a8cfd0cbf1899a3a41fe21a202d40f5448702b5a..7a5214a863e8bd4b1d7e5f896fb627b368a717f9:/include/wx/msw/menuitem.h diff --git a/include/wx/msw/menuitem.h b/include/wx/msw/menuitem.h index e07225ee6a..1be7c53921 100644 --- a/include/wx/msw/menuitem.h +++ b/include/wx/msw/menuitem.h @@ -51,6 +51,10 @@ public: virtual void Check(bool bDoCheck = TRUE); 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() bool IsCheckable() const { return wxMenuItemBase::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) };