From dde4740fe1dddbb2738a0afd054f493cb0dd67d1 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 6 Apr 2005 21:15:17 +0000 Subject: [PATCH] Don't always maximize top-level windows on Smartphone Don't initially hide frame under Smartphone (sometimes causes the title not to show) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/toplevel.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 374c929e26..04f8e5de1f 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -447,10 +447,6 @@ bool wxTopLevelWindowMSW::CreateFrame(const wxString& title, bool result = MSWCreate(wxCanvasClassName, title, pos, sz, flags, exflags); -#ifdef __SMARTPHONE__ - // Work around title non-display glitch - Show(false); -#endif return result; } @@ -551,10 +547,7 @@ bool wxTopLevelWindowMSW::Create(wxWindow *parent, // Note: if we include PocketPC in this test, dialogs can fail to show up, // for example the text entry dialog in the dialogs sample. Problem with Maximise()? #if defined(__WXWINCE__) && (defined(__SMARTPHONE__) || defined(__WINCE_STANDARDSDK__)) - // Smartphone dialogs should always be maximized. -#if !defined(__SMARTPHONE__) if ( style & wxMAXIMIZE ) -#endif { this->Maximize(); } -- 2.45.2