X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..6cb0bfdf9d1180b7c7fcb280d18ad71864312694:/include/wx/mac/carbon/mdi.h diff --git a/include/wx/mac/carbon/mdi.h b/include/wx/mac/carbon/mdi.h index 1114ee525d..eb55fff2a1 100644 --- a/include/wx/mac/carbon/mdi.h +++ b/include/wx/mac/carbon/mdi.h @@ -57,7 +57,7 @@ public: // Mac OS activate event virtual void MacActivate(long timestamp, bool activating); - // wxWindows activate event + // wxWidgets activate event void OnActivate(wxActivateEvent& event); void OnSysColourChanged(wxSysColourChangedEvent& event); @@ -68,6 +68,8 @@ public: // Get the client window inline wxMDIClientWindow *GetClientWindow() const { return m_clientWindow; }; + // Get rect to be used to center top-level children + virtual void GetRectForTopLevelChildren(int *x, int *y, int *w, int *h); // Create the client window class (don't Create the window, // just return a new class) @@ -80,6 +82,8 @@ public: virtual void ActivateNext(); virtual void ActivatePrevious(); + virtual bool Show( bool show = true ); + protected: // TODO maybe have this member