moving all border invalidations into one area, also opening peer access for all

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2005-02-23 15:39:15 +00:00
parent 33babf75a7
commit e2f865d857

View File

@ -171,6 +171,9 @@ public:
// this should not be overriden in classes above wxWindowMac because it is called from its destructor via DeleteChildren
virtual void RemoveChild( wxWindowBase *child );
virtual void MacPaintBorders( int left , int top ) ;
// invalidates the borders and focus area around the control
// must not be virtual as it will be called during destruction
void MacInvalidateBorders() ;
WXWindow MacGetTopLevelWindowRef() const ;
wxTopLevelWindowMac* MacGetTopLevelWindow() const ;
@ -180,7 +183,7 @@ public:
virtual long MacGetBottomBorderSize() const ;
static long MacRemoveBordersFromStyle( long style ) ;
virtual void MacSuperChangedPosition() ;
// the absolute coortinates of this window's root have changed
virtual void MacTopLevelWindowChangedPosition() ;
@ -243,6 +246,9 @@ public:
// flash the current invalid area, useful for debugging in OSX double buffered situation
void MacFlashInvalidAreas() ;
// the 'true' OS level control for this wxWindow
wxMacControl* GetPeer() const { return m_peer ; }
#if wxMAC_USE_CORE_GRAPHICS
void * MacGetCGContextRef() { return m_cgContextRef ; }
void MacSetCGContextRef(void * cg) { m_cgContextRef = cg ; }