X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..b9d880d6382e24156cdce4ae0390c843cc6208d9:/src/mac/classic/notebmac.cpp diff --git a/src/mac/classic/notebmac.cpp b/src/mac/classic/notebmac.cpp index ed9c0cf22f..3bf911dd74 100644 --- a/src/mac/classic/notebmac.cpp +++ b/src/mac/classic/notebmac.cpp @@ -24,11 +24,11 @@ #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/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 ;