From 28c191aa0fb9600cd63c1b70dd6fdfc99b53f950 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 17 Apr 2004 14:57:25 +0000 Subject: [PATCH] Do not set size of PocketPC dialogs upon startup, let the SHInitDialog() code do that following the Interface guidelines. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/toplevel.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() ) {