X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bd6022f1c25a202fa54f9a6e63cffe0e3e15eac..f87584b55268e165f15de6f8ae34c99df72e5896:/src/msw/notebook.cpp diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index 193bd61d6c..e92244917a 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -274,6 +274,8 @@ bool wxNotebook::Create(wxWindow *parent, if (style & wxNB_FLAT) style |= wxBORDER_SUNKEN; #endif + if ( (style & wxBK_ALIGN_MASK) == wxBK_DEFAULT ) + style |= wxBK_TOP; #if !wxUSE_UXTHEME // ComCtl32 notebook tabs simply don't work unless they're on top if we have uxtheme, we can