]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/notebmac.cpp
Include wx/sizer.h and wx/layout.h according to precompiled headers of wx/wx.h (with...
[wxWidgets.git] / src / mac / carbon / notebmac.cpp
index a14cbd6f7fd11f0867c7982403d6eee4d8d2c0ee..04c84ae3cdb8a29914bfd3f505186aff6af87387 100644 (file)
@@ -18,9 +18,9 @@
 #ifndef WX_PRECOMP
     #include "wx/string.h"
     #include "wx/log.h"
+    #include "wx/app.h"
 #endif
 
-#include "wx/app.h"
 #include "wx/string.h"
 #include "wx/imaglist.h"
 #include "wx/image.h"
@@ -80,6 +80,9 @@ bool wxNotebook::Create( wxWindow *parent,
 {
     m_macIsUserPane = false ;
 
+    if (! (style & wxBK_ALIGN_MASK))
+        style |= wxBK_TOP;
+    
     if ( !wxNotebookBase::Create( parent, id, pos, size, style, name ) )
         return false;