X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670f9935630beb2123a5ca62894ae92a3f0efa4f..3f4a2351e4c677c88c18ea812b609477adee7380:/src/mac/classic/notebmac.cpp diff --git a/src/mac/classic/notebmac.cpp b/src/mac/classic/notebmac.cpp index 9bd1c41477..3bf911dd74 100644 --- a/src/mac/classic/notebmac.cpp +++ b/src/mac/classic/notebmac.cpp @@ -25,10 +25,10 @@ #include "wx/string.h" #include "wx/log.h" #include "wx/app.h" + #include "wx/image.h" #endif #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 ;