X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/598ddd96f45745188c96f16757f7ceeaa0c8d70d..fd64de596c085f81aa3ef7d8ee6b2f4afebbed8e:/include/wx/msw/mdi.h diff --git a/include/wx/msw/mdi.h b/include/wx/msw/mdi.h index 714c097592..04705e7aa9 100644 --- a/include/wx/msw/mdi.h +++ b/include/wx/msw/mdi.h @@ -69,7 +69,8 @@ public: // MDI windows menu wxMenu* GetWindowMenu() const { return m_windowMenu; }; void SetWindowMenu(wxMenu* menu) ; - + virtual void DoMenuUpdates(wxMenu* menu = NULL); + // MDI operations // -------------- virtual void Cascade(); @@ -173,6 +174,8 @@ public: bool ResetWindowStyle(void *vrect); void OnIdle(wxIdleEvent& event); + + virtual bool Show(bool show = true); protected: virtual void DoGetPosition(int *x, int *y) const; @@ -186,6 +189,7 @@ protected: void Init(); private: + bool m_needsInitialShow; // Show must be called in idle time after Creation bool m_needsResize; // flag which tells us to artificially resize the frame DECLARE_EVENT_TABLE()