git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10177
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxMacDrawingHelper help( win ) ;
// the mac control manager always assumes to have the origin at 0,0
SetOrigin( 0 , 0 ) ;
wxMacDrawingHelper help( win ) ;
// the mac control manager always assumes to have the origin at 0,0
SetOrigin( 0 , 0 ) ;
- bool hasTabBehind = false ;
+ bool hasTabBehind = false ;
wxWindow* parent = GetParent() ;
while ( parent )
{
wxWindow* parent = GetParent() ;
while ( parent )
{
parent = parent->GetParent() ;
}
parent = parent->GetParent() ;
}
UMADrawControl( m_macControl ) ;
UMASetThemeWindowBackground( win->MacGetWindowData()->m_macWindow , win->MacGetWindowData()->m_macWindowBackgroundTheme , false ) ;
}
UMADrawControl( m_macControl ) ;
UMASetThemeWindowBackground( win->MacGetWindowData()->m_macWindow , win->MacGetWindowData()->m_macWindowBackgroundTheme , false ) ;
}
// eventually test for transparent windows
if ( child->GetMacRootWindow() == window && child->IsShown() )
{
// eventually test for transparent windows
if ( child->GetMacRootWindow() == window && child->IsShown() )
{
- SetRectRgn( childarea , child->m_x , child->m_y , child->m_x + child->m_width , child->m_y + child->m_height ) ;
- DiffRgn( ownUpdateRgn , childarea , ownUpdateRgn ) ;
+ if ( !child->IsKindOf( CLASSINFO( wxNotebook ) ) && !child->IsKindOf( CLASSINFO( wxTabCtrl ) ) )
+ {
+ SetRectRgn( childarea , child->m_x , child->m_y , child->m_x + child->m_width , child->m_y + child->m_height ) ;
+ DiffRgn( ownUpdateRgn , childarea , ownUpdateRgn ) ;
+ }
}
}
DisposeRgn( childarea ) ;
}
}
DisposeRgn( childarea ) ;
wxMacDrawingHelper help( win ) ;
// the mac control manager always assumes to have the origin at 0,0
SetOrigin( 0 , 0 ) ;
wxMacDrawingHelper help( win ) ;
// the mac control manager always assumes to have the origin at 0,0
SetOrigin( 0 , 0 ) ;
- bool hasTabBehind = false ;
+ bool hasTabBehind = false ;
wxWindow* parent = GetParent() ;
while ( parent )
{
wxWindow* parent = GetParent() ;
while ( parent )
{
parent = parent->GetParent() ;
}
parent = parent->GetParent() ;
}
UMADrawControl( m_macControl ) ;
UMASetThemeWindowBackground( win->MacGetWindowData()->m_macWindow , win->MacGetWindowData()->m_macWindowBackgroundTheme , false ) ;
}
UMADrawControl( m_macControl ) ;
UMASetThemeWindowBackground( win->MacGetWindowData()->m_macWindow , win->MacGetWindowData()->m_macWindowBackgroundTheme , false ) ;
}
// eventually test for transparent windows
if ( child->GetMacRootWindow() == window && child->IsShown() )
{
// eventually test for transparent windows
if ( child->GetMacRootWindow() == window && child->IsShown() )
{
- SetRectRgn( childarea , child->m_x , child->m_y , child->m_x + child->m_width , child->m_y + child->m_height ) ;
- DiffRgn( ownUpdateRgn , childarea , ownUpdateRgn ) ;
+ if ( !child->IsKindOf( CLASSINFO( wxNotebook ) ) && !child->IsKindOf( CLASSINFO( wxTabCtrl ) ) )
+ {
+ SetRectRgn( childarea , child->m_x , child->m_y , child->m_x + child->m_width , child->m_y + child->m_height ) ;
+ DiffRgn( ownUpdateRgn , childarea , ownUpdateRgn ) ;
+ }
}
}
DisposeRgn( childarea ) ;
}
}
DisposeRgn( childarea ) ;