]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobox.cpp
Source cleaning: whitespaces,-1/wxID_ANY,TRUE/true,FALSE/false.
[wxWidgets.git] / src / msw / radiobox.cpp
index 53b5d447152329f8a253c3a06236c6d1213fb7cd..524027ecf9e7d15dd2b688b2b6a383b461fc38bb 100644 (file)
@@ -347,9 +347,7 @@ bool wxRadioBox::Create(wxWindow *parent,
 
 #ifdef __WXWINCE__
     // Set the z-order correctly
-    RECT rect;
-    GetWindowRect(GetHwnd(), & rect);
-    SetWindowPos(GetHwnd(), HWND_BOTTOM, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, 0);
+    SetWindowPos(GetHwnd(), HWND_BOTTOM, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);
 #endif
 
     SetSelection(0);