]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobox.cpp
SetBackgroundStyle(wxBG_STYLE_CUSTOM) can now be used to optimize
[wxWidgets.git] / src / msw / radiobox.cpp
index 73c40bd139797de58ba32506ef94287dd45a493a..524027ecf9e7d15dd2b688b2b6a383b461fc38bb 100644 (file)
@@ -345,6 +345,11 @@ bool wxRadioBox::Create(wxWindow *parent,
                          0, 0, 0, 0, hwndParent,
                          (HMENU)NewControlId(), wxGetInstance(), NULL);
 
+#ifdef __WXWINCE__
+    // Set the z-order correctly
+    SetWindowPos(GetHwnd(), HWND_BOTTOM, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);
+#endif
+
     SetSelection(0);
     SetSize(pos.x, pos.y, size.x, size.y);