]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/notebook.cpp
Missing header
[wxWidgets.git] / src / univ / notebook.cpp
index 1255a2fe5ce6836a15e8aeb8611ffcf6feb43228..407dc958ae3aee1c60cfaeefb4d53f8d4bc9094c 100644 (file)
@@ -121,6 +121,9 @@ bool wxNotebook::Create(wxWindow *parent,
                         long style,
                         const wxString& name)
 {
+    if ( (style & wxBK_ALIGN_MASK) == wxBK_DEFAULT )
+        style |= wxBK_TOP;
+
     if ( !wxControl::Create(parent, id, pos, size, style,
                             wxDefaultValidator, name) )
         return false;