]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/notebook.cpp
move generic part of AdjustSize() and status bar methods to the base class
[wxWidgets.git] / src / os2 / notebook.cpp
index b0765dd8e85890aa6312e800de396f18d4f594bd..26f5212468d4ef390b9c00fc2c39f0d21883b91b 100644 (file)
     #include "wx/dcclient.h"
     #include "wx/string.h"
     #include "wx/settings.h"
-    #include  "wx/log.h"
+    #include "wx/log.h"
+    #include "wx/event.h"
+    #include  "wx/control.h"
 #endif  // WX_PRECOMP
 
 #include  "wx/imaglist.h"
-#include  "wx/event.h"
-#include  "wx/control.h"
 
 #include  "wx/os2/private.h"
 
@@ -124,6 +124,8 @@ bool wxNotebook::Create( wxWindow*       pParent,
                          long            lStyle,
                          const wxString& rsName )
 {
+    if ( (lStyle & wxBK_ALIGN_MASK) == wxBK_DEFAULT )
+        lStyle |= wxBK_TOP;
     //
     // Base init
     //