Worked around static box opaqueness problem on WinCE by setting the

z-order in OnInitDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-07-28 09:34:25 +00:00
parent 154fd1e473
commit d26e1ab206
3 changed files with 35 additions and 3 deletions

View 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);