diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index b7f00bb6c7..eccae97c29 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -384,10 +384,12 @@ bool wxTopLevelWindowMSW::CreateDialog(const void *dlgTemplate, y = (sizeDpy.y - h) / 2; } +#ifndef __WXWINCE__ if ( !::MoveWindow(GetHwnd(), x, y, w, h, FALSE) ) { wxLogLastError(wxT("MoveWindow")); } +#endif if ( !title.empty() ) {