X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca715d8835fa612d5d5e6cf9017f7dd7ab446d4b..36bd690299dc72d49c4a945fa467ac7ce2342019:/src/mac/window.cpp diff --git a/src/mac/window.cpp b/src/mac/window.cpp index 7acae31b6c..644bf7e737 100644 --- a/src/mac/window.cpp +++ b/src/mac/window.cpp @@ -1847,8 +1847,11 @@ void wxWindow::MacRedraw( RgnHandle updatergn , long time) // 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 ) ;