Set/GetWindowMenu added to MDI parent frame under MSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-02-01 15:48:44 +00:00
parent dc8174d2a9
commit df61c00971
6 changed files with 140 additions and 15 deletions

View File

@@ -68,7 +68,9 @@ public:
// just return a new class)
virtual wxMDIClientWindow *OnCreateClient(void);
WXHMENU GetWindowMenu() const { return m_windowMenu; }
// WXHMENU GetWindowHMENU() const { return m_windowMenu; }
wxMenu* GetWindowMenu() const { return m_windowMenu; };
void SetWindowMenu(wxMenu* menu) ;
// MDI operations
// --------------
@@ -100,7 +102,8 @@ protected:
wxMDIClientWindow * m_clientWindow;
wxMDIChildFrame * m_currentChild;
WXHMENU m_windowMenu;
// WXHMENU m_windowMenu;
wxMenu* m_windowMenu;
// TRUE if MDI Frame is intercepting commands, not child
bool m_parentFrameActive;