X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff3795eeaf49717c7d09b286326cf0cedd476377..73fbb031f560f00a859d12c2eba133551f807622:/include/wx/mac/carbon/window.h diff --git a/include/wx/mac/carbon/window.h b/include/wx/mac/carbon/window.h index 0890ca5cb5..97d3c3cfd7 100644 --- a/include/wx/mac/carbon/window.h +++ b/include/wx/mac/carbon/window.h @@ -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 ; }