]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/notebook.cpp
make it possible to associate context help text with individual radiobox items
[wxWidgets.git] / src / msw / notebook.cpp
index 193bd61d6c8ae47ef199cd4602afeba72dff7b19..0d8d2bb56d93cc051c81de5894b8f85cc06a0cb0 100644 (file)
@@ -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.