From: Włodzimierz Skiba Date: Sun, 14 May 2006 22:29:30 +0000 (+0000) Subject: wxTabCtrl off build fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7301b2b8e66a0bdb5985e4424e4da8e01e266f07 wxTabCtrl off build fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/dcclient.cpp b/src/mac/carbon/dcclient.cpp index 0eb7e0a3ce..e045020597 100644 --- a/src/mac/carbon/dcclient.cpp +++ b/src/mac/carbon/dcclient.cpp @@ -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 ;