#include "wx/msw/private.h"
#include <windowsx.h>
-
-#include <commctrl.h>
-
#include "wx/msw/winundef.h"
+// include <commctrl.h> "properly"
+#include "wx/msw/wrapcctl.h"
+
#if wxUSE_UXTHEME
#include "wx/msw/uxtheme.h"
#endif
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