X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bd6022f1c25a202fa54f9a6e63cffe0e3e15eac..dc26eeb36a7415bd73d3e442c79b7acc0aeed6eb:/src/msw/notebook.cpp?ds=inline diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index 193bd61d6c..0d8d2bb56d 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -268,6 +268,15 @@ bool wxNotebook::Create(wxWindow *parent, long style, const wxString& name) { + if ( (style & wxBK_ALIGN_MASK) == wxBK_DEFAULT ) + { +#if defined(__POCKETPC__) + style |= wxBK_BOTTOM | wxNB_FLAT; +#else + style |= wxBK_TOP; +#endif + } + #ifdef __WXWINCE__ // Not sure why, but without this style, there is no border // around the notebook tabs.