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:
@@ -2184,7 +2184,9 @@ wxRegion wxWindowMac::MacGetVisibleRegion( bool includeOuterStructures )
|
|||||||
{
|
{
|
||||||
int x , y ;
|
int x , y ;
|
||||||
wxSize size ;
|
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() ;
|
size = parent->GetSize() ;
|
||||||
x = y = 0 ;
|
x = y = 0 ;
|
||||||
|
Reference in New Issue
Block a user