]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/window.cpp
added wxLog::ClearTraceMasks()
[wxWidgets.git] / src / mac / window.cpp
index 7acae31b6c51e62dabbf9bf88a88851e8003f7dc..644bf7e7372fb8bcd8980dd3ad44767986c7e034 100644 (file)
@@ -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 ) ;