]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't centre the frame on WinCE
authorJulian Smart <julian@anthemion.co.uk>
Thu, 23 Mar 2006 11:35:56 +0000 (11:35 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 23 Mar 2006 11:35:56 +0000 (11:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialogs/dialogs.cpp

index 55bc4b3f2844aefeb27b2486427a7e45f1f0c9ec..2e5e93aa53eeb4b0bb0257f8fe98149afceba4d6 100644 (file)
@@ -383,7 +383,9 @@ bool MyApp::OnInit()
     myCanvas = new MyCanvas(frame);
     myCanvas->SetBackgroundColour(*wxWHITE);
 
+#ifndef __WXWINCE__
     frame->Centre(wxBOTH);
+#endif
 
     // Show the frame
     frame->Show(true);