X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9cce2fe26c25ba4c16e61a2a8447667c7ee3e98b..ed4eede6c2c16cdb422a39c1b3655956b8f51a1c:/src/msw/toplevel.cpp diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index ac97ecbbef..374c929e26 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -548,11 +548,13 @@ bool wxTopLevelWindowMSW::Create(wxWindow *parent, ); } - // Native look is full screen window on Smartphones and Standard SDK. - // TODO: check that we need this (if we're passing default values to ctor). - // Also check that there really is a difference between PocketPC and Smartphone in this regard. + // 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(); }