X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba161d7e9579de457aedcf24c75fd24a2c024534..2ae8a353528c12be92dbaa699f2ffc670188ab5b:/include/wx/mac/window.h?ds=inline diff --git a/include/wx/mac/window.h b/include/wx/mac/window.h index dd225fe5e7..a3a31e301d 100644 --- a/include/wx/mac/window.h +++ b/include/wx/mac/window.h @@ -12,7 +12,7 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "window.h" #endif @@ -231,6 +231,9 @@ public: static long MacRemoveBordersFromStyle( long style ) ; virtual void MacSuperChangedPosition() ; + // the absolute coordinates of this item within the toplevel window may have changed + virtual void MacUpdateDimensions() {} + // the absolute coortinates of this window's root have changed virtual void MacTopLevelWindowChangedPosition() ; virtual void MacSuperShown( bool show ) ; virtual void MacSuperEnabled( bool enable ) ; @@ -238,12 +241,13 @@ public: virtual void Update() ; // for compatibility void MacUpdateImmediately() { Update() ; } + bool MacSetupCursor( const wxPoint& pt ) ; // virtual bool MacSetPortDrawingParams( const Point & localOrigin, const Rect & clipRect, WindowRef window , wxWindowMac* rootwin ) ; // virtual void MacGetPortParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindowMac** rootwin ) ; // virtual void MacGetPortClientParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindowMac** rootwin) ; const wxBrush& MacGetBackgroundBrush() ; - const wxRegion& MacGetVisibleRegion() ; + const wxRegion& MacGetVisibleRegion( bool respectChildrenAndSiblings = true ) ; bool MacIsWindowScrollbar( const wxScrollBar* sb ) { return (m_hScrollBar == sb || m_vScrollBar == sb) ; } static wxWindowMac* s_lastMouseWindow ;