]> git.saurik.com Git - wxWidgets.git/commitdiff
wxTabCtrl off build fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Sun, 14 May 2006 22:29:30 +0000 (22:29 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Sun, 14 May 2006 22:29:30 +0000 (22:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dcclient.cpp

index 0eb7e0a3ce457108067336b3809b23011c69c40f..e0450205976d25ec1754817814180a1b553733b2 100644 (file)
@@ -75,7 +75,11 @@ static wxBrush MacGetBackgroundBrush( wxWindow* window )
                 break ;
             }
 
-            if ( parent->IsKindOf( CLASSINFO( wxNotebook ) ) || parent->IsKindOf( CLASSINFO( wxTabCtrl ) ) )
+            if ( parent->IsKindOf( CLASSINFO( wxNotebook ) )
+#if wxUSE_TAB_DIALOG
+                 || parent->IsKindOf( CLASSINFO( wxTabCtrl ) )
+#endif // wxUSE_TAB_DIALOG 
+                )
             {
                 Rect extent = { 0 , 0 , 0 , 0 } ;
                 int x , y ;