projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed warnings, reformatted braces
[wxWidgets.git]
/
src
/
mac
/
carbon
/
dcclient.cpp
diff --git
a/src/mac/carbon/dcclient.cpp
b/src/mac/carbon/dcclient.cpp
index f706434036799f99d1193e9da44a50d61957b73d..0e0b775e920e6581fb1ee20d4c66dac84013765e 100644
(file)
--- a/
src/mac/carbon/dcclient.cpp
+++ b/
src/mac/carbon/dcclient.cpp
@@
-16,13
+16,13
@@
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/window.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/window.h"
+ #include "wx/dcmemory.h"
+ #include "wx/settings.h"
+ #include "wx/toplevel.h"
+ #include "wx/math.h"
+ #include "wx/region.h"
#endif
#endif
-#include "wx/dcmemory.h"
-#include "wx/region.h"
-#include "wx/toplevel.h"
-#include "wx/settings.h"
-#include "wx/math.h"
#include "wx/mac/private.h"
//-----------------------------------------------------------------------------
#include "wx/mac/private.h"
//-----------------------------------------------------------------------------
@@
-75,7
+75,11
@@
static wxBrush MacGetBackgroundBrush( wxWindow* window )
break ;
}
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 ;
{
Rect extent = { 0 , 0 , 0 , 0 } ;
int x , y ;