]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/notebmac.cpp
wxRichTextCtrl now takes a value parameter in the constructor
[wxWidgets.git] / src / mac / carbon / notebmac.cpp
index a14cbd6f7fd11f0867c7982403d6eee4d8d2c0ee..3764fd37cecbf256f87093945c3c7b14202e7df7 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/string.h"
     #include "wx/log.h"
+    #include "wx/app.h"
+    #include "wx/image.h"
 #endif
 
-#include "wx/app.h"
 #include "wx/string.h"
 #include "wx/imaglist.h"
-#include "wx/image.h"
 #include "wx/mac/uma.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;