X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/991420e6df6aaf452a0d27851d437c306a31c865..49e3e2c25f93dd8114b36155de1756139b7f18b9:/src/msw/toplevel.cpp?ds=sidebyside diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index c8966ad7bb..3cf38606e3 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -529,7 +529,6 @@ bool wxTopLevelWindowMSW::Create(wxWindow *parent, #endif #ifdef __SMARTPHONE__ - SetLeftMenu(wxID_EXIT, _("Done")); SetRightMenu(); // to nothing for initialization #endif @@ -977,8 +976,11 @@ wxDlgProc(HWND hDlg, #if defined(__WXWINCE__) && !defined(__WINCE_STANDARDSDK__) && !defined(__HANDHELDPC__) SHINITDLGINFO shidi; shidi.dwMask = SHIDIM_FLAGS; - shidi.dwFlags = SHIDIF_DONEBUTTON | - SHIDIF_SIZEDLGFULLSCREEN; + shidi.dwFlags = SHIDIF_SIZEDLGFULLSCREEN +#ifndef __SMARTPHONE__ + | SHIDIF_DONEBUTTON +#endif + ; shidi.hDlg = hDlg; SHInitDialog( &shidi ); #else // no SHInitDialog()