]> git.saurik.com Git - wxWidgets.git/commitdiff
code changes for redrawing
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 28 Dec 2001 19:14:01 +0000 (19:14 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 28 Dec 2001 19:14:01 +0000 (19:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/window.h

index 67aed28061226a4c0fc2a2235288527ef35d33b3..259366a6ce28700cbc8e86d0622493662672bdc1 100644 (file)
@@ -16,6 +16,7 @@
 #pragma interface "window.h"
 #endif
 
+#include <wx/brush.h>
 // ---------------------------------------------------------------------------
 // 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 ;