]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/notebook.cpp
don't send wxHelpEvent generated for WM_HELP to all window parents, wxHelpEvent is...
[wxWidgets.git] / src / gtk / notebook.cpp
index c074dcb480ba713f21abbdc538802a8f067823a6..8c22e6af9e96ffe8aa94b8bc40268b825e692e48 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 ))
     {