X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ee9a64bd6fa6ce20a33ad7acaa8982988d32223..8d43e8c68fd5d508a1628909c696fff938c9eb1e:/include/wx/msw/menu.h diff --git a/include/wx/msw/menu.h b/include/wx/msw/menu.h index 84c3631620..d80e85cca1 100644 --- a/include/wx/msw/menu.h +++ b/include/wx/msw/menu.h @@ -102,6 +102,9 @@ public: m_maxAccelWidth = -1; } + // get the menu with given handle (recursively) + wxMenu* MSWGetMenu(WXHMENU hMenu); + private: void CalculateMaxAccelWidth(); @@ -208,6 +211,9 @@ public: void Refresh( bool eraseBackground, const wxRect *rect = (const wxRect *) NULL ) { wxWindow::Refresh(eraseBackground, rect); } + // get the menu with given handle (recursively) + wxMenu* MSWGetMenu(WXHMENU hMenu); + protected: // common part of all ctors void Init();