From acd8510fd2d8ec0bccc7f6881a090c653c02917f Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 23 Mar 2006 11:35:56 +0000 Subject: [PATCH] Don't centre the frame on WinCE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/dialogs/dialogs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index 55bc4b3f28..2e5e93aa53 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -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);