From 755d980deb861cc170b1069c2e4e884958fd188a Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 28 Dec 2001 19:14:01 +0000 Subject: [PATCH] code changes for redrawing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/window.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/wx/mac/window.h b/include/wx/mac/window.h index 67aed28061..259366a6ce 100644 --- a/include/wx/mac/window.h +++ b/include/wx/mac/window.h @@ -16,6 +16,7 @@ #pragma interface "window.h" #endif +#include // --------------------------------------------------------------------------- // forward declarations // --------------------------------------------------------------------------- @@ -251,7 +252,8 @@ public : virtual void MacGetPortParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindowMac** rootwin ) ; virtual void MacGetPortClientParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindowMac** rootwin) ; virtual void MacDoGetPortClientParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindowMac** rootwin) ; - + const wxBrush& MacGetBackgroundBrush() ; + const wxRegion& MacGetVisibleRegion() ; bool MacIsWindowScrollbar( const wxScrollBar* sb ) { return (m_hScrollBar == sb || m_vScrollBar == sb) ; } static wxWindowMac* s_lastMouseWindow ; private: @@ -259,7 +261,8 @@ private: protected: // RgnHandle m_macUpdateRgn ; // bool m_macEraseOnRedraw ; - + wxBrush m_macBackgroundBrush ; + wxRegion m_macVisibleRegion ; int m_x ; int m_y ; int m_width ;