]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/notebook.cpp
Source cleaning, wxW headers, whitespaces and improved PCH support.
[wxWidgets.git] / src / gtk1 / notebook.cpp
index 6d647cc323073a3cc1ccb0a5936f5a259b27c07d..8acf3f1fd9f1ced142cc9100debbb1c2c7496f80 100644 (file)
@@ -324,6 +324,9 @@ bool wxNotebook::Create(wxWindow *parent, wxWindowID id,
     m_acceptsFocus = true;
     m_insertCallback = (wxInsertChildFunction)wxInsertChildInNotebook;
 
+    if ( (style & wxBK_ALIGN_MASK) == wxBK_DEFAULT )
+        style |= wxBK_TOP;
+
     if (!PreCreation( parent, pos, size ) ||
         !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
     {