X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..38a097f588121ffcab2fa57e4494a6d0783c3567:/src/os2/notebook.cpp 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 //