X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4488a1d33266555c47bd3ca72cca6e20c67ab509..ac43092b9d4f932c3a911fca29f51de3fe094d7c:/include/wx/mac/carbon/toplevel.h diff --git a/include/wx/mac/carbon/toplevel.h b/include/wx/mac/carbon/toplevel.h index 71a5f1937c..dd7c539bfc 100644 --- a/include/wx/mac/carbon/toplevel.h +++ b/include/wx/mac/carbon/toplevel.h @@ -94,10 +94,18 @@ public: virtual void Lower(); virtual bool Show( bool show = true ); + virtual bool ShowWithEffect(wxShowEffect effect, + unsigned timeout = 0, + wxDirection dir = wxBOTTOM); + + virtual bool HideWithEffect(wxShowEffect effect, + unsigned timeout = 0, + wxDirection dir = wxBOTTOM); + virtual void SetExtraStyle(long exStyle) ; - virtual void MacSetBackgroundBrush( const wxBrush &brush ) ; - + virtual bool SetBackgroundColour( const wxColour &colour ); + virtual void MacInstallTopLevelWindowEventHandler() ; bool MacGetMetalAppearance() const ; @@ -118,6 +126,7 @@ protected: virtual void DoGetSize( int *width, int *height ) const; virtual void DoMoveWindow(int x, int y, int width, int height); virtual void DoGetClientSize(int *width, int *height) const; + virtual void DoCentre(int dir); // is the frame currently iconized? bool m_iconized; @@ -125,7 +134,7 @@ protected: // should the frame be maximized when it will be shown? set by Maximize() // when it is called while the frame is hidden bool m_maximizeOnShow; - + WXWindow m_macWindow ; wxWindowMac* m_macFocus ; @@ -139,6 +148,12 @@ private : // logic & checks cease to work as expected. To set the metal appearance, use SetExtraStyle. void MacSetMetalAppearance( bool on ) ; void MacSetUnifiedAppearance( bool on ) ; + // binary compatible workaround TODO REPLACE + void DoMacCreateRealWindow( wxWindow *parent, const wxString& title, + const wxPoint& pos, + const wxSize& size, + long style, + const wxString& name ); WXEVENTHANDLERREF m_macEventHandler ;