code changes for redrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
#pragma interface "window.h"
|
#pragma interface "window.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <wx/brush.h>
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// forward declarations
|
// forward declarations
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
@@ -251,7 +252,8 @@ public :
|
|||||||
virtual void MacGetPortParams(Point* localOrigin, 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) ;
|
virtual void MacGetPortClientParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindowMac** rootwin) ;
|
||||||
virtual void MacDoGetPortClientParams(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) ; }
|
bool MacIsWindowScrollbar( const wxScrollBar* sb ) { return (m_hScrollBar == sb || m_vScrollBar == sb) ; }
|
||||||
static wxWindowMac* s_lastMouseWindow ;
|
static wxWindowMac* s_lastMouseWindow ;
|
||||||
private:
|
private:
|
||||||
@@ -259,7 +261,8 @@ private:
|
|||||||
protected:
|
protected:
|
||||||
// RgnHandle m_macUpdateRgn ;
|
// RgnHandle m_macUpdateRgn ;
|
||||||
// bool m_macEraseOnRedraw ;
|
// bool m_macEraseOnRedraw ;
|
||||||
|
wxBrush m_macBackgroundBrush ;
|
||||||
|
wxRegion m_macVisibleRegion ;
|
||||||
int m_x ;
|
int m_x ;
|
||||||
int m_y ;
|
int m_y ;
|
||||||
int m_width ;
|
int m_width ;
|
||||||
|
Reference in New Issue
Block a user