]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/notebook.cpp
respect the encoding of the text style and not only the global control font encoding...
[wxWidgets.git] / src / os2 / notebook.cpp
index 7605b4d78faac87670358715fdf568273df7c71a..26f5212468d4ef390b9c00fc2c39f0d21883b91b 100644 (file)
@@ -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
     //