extending calculation of visible region

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2004-03-28 07:06:27 +00:00
parent e40f15abf3
commit d3e780ecdf

View File

@ -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 ;