]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/notebmac.cpp
Reverted last wxBookCtrl change and added alignment check to notebook
[wxWidgets.git] / src / mac / carbon / notebmac.cpp
index 28e18d9174f219f93d7039593cb856a2fa0aca07..04c84ae3cdb8a29914bfd3f505186aff6af87387 100644 (file)
@@ -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;