X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df91131cb0f90ee8bfb194926a13b1a108ca3c6e..3f4a2351e4c677c88c18ea812b609477adee7380:/src/mac/classic/notebmac.cpp diff --git a/src/mac/classic/notebmac.cpp b/src/mac/classic/notebmac.cpp index 02c1dd5501..3bf911dd74 100644 --- a/src/mac/classic/notebmac.cpp +++ b/src/mac/classic/notebmac.cpp @@ -23,12 +23,12 @@ #ifndef WX_PRECOMP #include "wx/string.h" + #include "wx/log.h" + #include "wx/app.h" + #include "wx/image.h" #endif -#include "wx/app.h" -#include "wx/log.h" #include "wx/imaglist.h" -#include "wx/image.h" #include "wx/mac/uma.h" // ---------------------------------------------------------------------------- // macros @@ -187,6 +187,9 @@ bool wxNotebook::Create(wxWindow *parent, Rect bounds ; Str255 title ; + if ( (style & wxBK_ALIGN_MASK) == wxBK_DEFAULT ) + style |= wxBK_TOP; + MacPreControlCreate( parent , id , wxEmptyString , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ; int tabstyle = kControlTabSmallNorthProc ;