Always Maximize() top-level windows on Smartphone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
21bd196564
commit
e60fbfcb6b
@ -548,11 +548,13 @@ bool wxTopLevelWindowMSW::Create(wxWindow *parent,
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Native look is full screen window on Smartphones and Standard SDK.
|
// Note: if we include PocketPC in this test, dialogs can fail to show up,
|
||||||
// TODO: check that we need this (if we're passing default values to ctor).
|
// for example the text entry dialog in the dialogs sample. Problem with Maximise()?
|
||||||
// Also check that there really is a difference between PocketPC and Smartphone in this regard.
|
|
||||||
#if defined(__WXWINCE__) && (defined(__SMARTPHONE__) || defined(__WINCE_STANDARDSDK__))
|
#if defined(__WXWINCE__) && (defined(__SMARTPHONE__) || defined(__WINCE_STANDARDSDK__))
|
||||||
|
// Smartphone dialogs should always be maximized.
|
||||||
|
#if !defined(__SMARTPHONE__)
|
||||||
if ( style & wxMAXIMIZE )
|
if ( style & wxMAXIMIZE )
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
this->Maximize();
|
this->Maximize();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user