clipping for wxMac cleaned up

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2004-09-26 14:05:31 +00:00
parent e302e0c167
commit 5340966638
4 changed files with 15 additions and 0 deletions

View File

@@ -201,6 +201,11 @@ public:
// returns the visible region of this control in window ie non-client coordinates
wxRegion MacGetVisibleRegion( bool includeOuterStructures = false ) ;
// returns true if children have to clipped to the content area (eg scrolled window)
virtual bool MacClipChildren() const { return false ; }
// returns true if the grandchildren have to be clipped to the children's content area (eg
// splitter window)
virtual bool MacClipGrandChildren() const { return false ; }
bool MacIsWindowScrollbar( const wxScrollBar* sb )
{ return (m_hScrollBar == sb || m_vScrollBar == sb) ; }