X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e92f266ca77ba4501b1663c54eb573023e8989e3..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/os2/menu.h diff --git a/include/wx/os2/menu.h b/include/wx/os2/menu.h index 6719c9e563..1dd6a5cef8 100644 --- a/include/wx/os2/menu.h +++ b/include/wx/os2/menu.h @@ -165,7 +165,8 @@ public: #endif // wxUSE_ACCEL // get the menu handle - WXHMENU GetHMenu() const { return m_hMenu; } + WXHMENU GetHMenu() const { return m_hMenu; } + unsigned long GetMenubarId() const { return m_ulMenubarId; } // if the menubar is modified, the display is not updated automatically, // call this function to update it (m_menuBarFrame should be !NULL) @@ -183,8 +184,9 @@ protected: wxArrayString m_titles; - wxFrame *m_menuBarFrame; - WXHMENU m_hMenu; + wxFrame* m_menuBarFrame; + WXHMENU m_hMenu; + unsigned long m_ulMenubarId; #if wxUSE_ACCEL // the accelerator table for all accelerators in all our menus