X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5da0ce7cb746318511b3974b7882c72c0de45e2..1cd9779fce63b081d875de7a901c8eb6120d0b8a:/src/os2/notebook.cpp?ds=sidebyside diff --git a/src/os2/notebook.cpp b/src/os2/notebook.cpp index f518b1d11c..26f5212468 100644 --- a/src/os2/notebook.cpp +++ b/src/os2/notebook.cpp @@ -24,10 +24,10 @@ #include "wx/settings.h" #include "wx/log.h" #include "wx/event.h" + #include "wx/control.h" #endif // WX_PRECOMP #include "wx/imaglist.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 //