X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..0d91b2342a1f83b3b9db145c7210efd5d9547cc8:/src/os2/notebook.cpp?ds=sidebyside diff --git a/src/os2/notebook.cpp b/src/os2/notebook.cpp index b0765dd8e8..26f5212468 100644 --- a/src/os2/notebook.cpp +++ b/src/os2/notebook.cpp @@ -22,12 +22,12 @@ #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 //