]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/notebook.cpp
Include wx/scrolwin.h and wx/dirdlg.h according to precompiled headers of wx/wx.h...
[wxWidgets.git] / src / msw / notebook.cpp
index 193bd61d6c8ae47ef199cd4602afeba72dff7b19..e92244917aa1946d6ff8c3b05c974dffa3ff7575 100644 (file)
@@ -274,6 +274,8 @@ bool wxNotebook::Create(wxWindow *parent,
     if (style & wxNB_FLAT)
         style |= wxBORDER_SUNKEN;
 #endif
+    if ( (style & wxBK_ALIGN_MASK) == wxBK_DEFAULT )
+        style |= wxBK_TOP;
 
 #if !wxUSE_UXTHEME
     // ComCtl32 notebook tabs simply don't work unless they're on top if we have uxtheme, we can