X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..3abf2c720bea956795f6958e21db292cde614f52:/include/wx/msw/mdi.h diff --git a/include/wx/msw/mdi.h b/include/wx/msw/mdi.h index 385659df1c..129cd8b40d 100644 --- a/include/wx/msw/mdi.h +++ b/include/wx/msw/mdi.h @@ -98,11 +98,12 @@ public: virtual bool MSWTranslateMessage(WXMSG* msg); protected: +#if wxUSE_MENUS_NATIVE virtual void InternalSetMenuBar(); +#endif // wxUSE_MENUS_NATIVE wxMDIClientWindow * m_clientWindow; wxMDIChildFrame * m_currentChild; -// WXHMENU m_windowMenu; wxMenu* m_windowMenu; // TRUE if MDI Frame is intercepting commands, not child @@ -159,6 +160,7 @@ public: bool HandleMDIActivate(long bActivate, WXHWND, WXHWND); bool HandleWindowPosChanging(void *lpPos); bool HandleCommand(WXWORD id, WXWORD cmd, WXHWND control); + bool HandleGetMinMaxInfo(void *mmInfo); virtual long MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); virtual long MSWDefWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); @@ -174,6 +176,7 @@ protected: virtual void DoGetPosition(int *x, int *y) const; virtual void DoSetClientSize(int width, int height); virtual void InternalSetMenuBar(); + virtual bool IsMDIChild() const { return TRUE; } // common part of all ctors void Init();