X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba161d7e9579de457aedcf24c75fd24a2c024534..bf89b538f24d96be1dbb5bfa4037397b5438c5e2:/include/wx/mac/window.h diff --git a/include/wx/mac/window.h b/include/wx/mac/window.h index dd225fe5e7..96f1c62b24 100644 --- a/include/wx/mac/window.h +++ b/include/wx/mac/window.h @@ -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 ;