X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64133c38ea981c7414b3faff8d3f3d71663607da..fcf90ee1b10d41b4ddfbfa537481a9c64e30348f:/src/msw/radiobox.cpp diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index 53b5d44715..524027ecf9 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -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);