From: Stefan Csomor Date: Sun, 28 Mar 2004 07:06:27 +0000 (+0000) Subject: extending calculation of visible region X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d3e780ecdf69233c872d51216eedbc64a1b6db25 extending calculation of visible region git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 808db5c2be..fc0644b024 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -2184,7 +2184,9 @@ wxRegion wxWindowMac::MacGetVisibleRegion( bool includeOuterStructures ) { int x , y ; wxSize size ; - if ( parent->IsTopLevel() && child->IsKindOf( CLASSINFO( wxToolBar ) ) ) + // we have to find a better clipping algorithm here, in order not to clip things + // positioned like status and toolbar + if ( 1 /* parent->IsTopLevel() && child->IsKindOf( CLASSINFO( wxToolBar ) ) */ ) { size = parent->GetSize() ; x = y = 0 ;