X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e60fbfcb6bc2e54e86b2fefaee3095efb31f1b7e..96339a78f24abf0a7b346c6ddce59e8a62165911:/src/msw/toplevel.cpp diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 374c929e26..2378243914 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(); } @@ -948,7 +941,7 @@ void wxTopLevelWindowMSW::RequestUserAttention(int flags) s_pfnFlashWindowEx = (FlashWindowEx_t) dllUser32.GetSymbol(_T("FlashWindowEx")); - // we can safely unload user32.dll here, it's goign to remain loaded as + // we can safely unload user32.dll here, it's going to remain loaded as // long as the program is running anyhow }