X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c05a5f07d3a6a38445a1c1e806d77b6b43dc45b7..59018c74fe46c8964606c1354f91899df27c0d21:/include/wx/mac/window.h diff --git a/include/wx/mac/window.h b/include/wx/mac/window.h index b81c333150..cef26853e1 100644 --- a/include/wx/mac/window.h +++ b/include/wx/mac/window.h @@ -12,11 +12,12 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "window.h" #endif -#include +#include "wx/brush.h" + // --------------------------------------------------------------------------- // forward declarations // --------------------------------------------------------------------------- @@ -241,12 +242,13 @@ public: virtual void Update() ; // for compatibility void MacUpdateImmediately() { Update() ; } + virtual 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 ;