X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b01a88e05073b9a86c406d368be8ebb340ba9215..9802983f157c32177e92e8c0f6b1ce44aec0ebca:/include/wx/msw/frame.h?ds=sidebyside diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 7decd43e5c..c7fb8ed76c 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -83,7 +83,9 @@ public: { return m_useNativeStatusBar; }; #endif // wxUSE_STATUSBAR +#if wxUSE_MENUS WXHMENU GetWinMenu() const { return m_hMenu; } +#endif // wxUSE_MENUS // event handlers bool HandlePaint(); @@ -142,6 +144,11 @@ protected: static bool m_useNativeStatusBar; #endif // wxUSE_STATUSBAR +#if wxUSE_MENUS + // frame menu, NULL if none + WXHMENU m_hMenu; +#endif // wxUSE_MENUS + private: #if wxUSE_TOOLTIPS WXHWND m_hwndToolTip;