wxTabCtrl off build fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-14 22:29:30 +00:00
parent ab5903dae3
commit 7301b2b8e6

View 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 ;