From d3e780ecdf69233c872d51216eedbc64a1b6db25 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 28 Mar 2004 07:06:27 +0000 Subject: [PATCH] extending calculation of visible region git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/window.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ;