]> git.saurik.com Git - wxWidgets.git/commitdiff
Do not set size of PocketPC dialogs upon
authorRobert Roebling <robert@roebling.de>
Sat, 17 Apr 2004 14:57:25 +0000 (14:57 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 17 Apr 2004 14:57:25 +0000 (14:57 +0000)
    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

index b7f00bb6c7a7046cca813cc1eb513a9a18fed218..eccae97c29db29351e40316a83490c1ed33fe930 100644 (file)
@@ -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() )
     {