From: Julian Smart Date: Thu, 29 Nov 2001 15:05:05 +0000 (+0000) Subject: Don't convert args if NULL X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3ac59f211b7b167e49327add5a5d9a25135c0171 Don't convert args if NULL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 35a9e2a58e..fd8d8e723a 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -779,7 +779,8 @@ int wxEntry(WXHINSTANCE hInstance, wxCHECK_MSG( wxTheApp, 0, wxT("You have to define an instance of wxApp!") ); // save the WinMain() parameters - wxTheApp->ConvertToStandardCommandArgs(lpCmdLine); + if (lpCmdLine) // MicroWindows pass NULL for this + wxTheApp->ConvertToStandardCommandArgs(lpCmdLine); wxTheApp->m_nCmdShow = nCmdShow; // We really don't want timestamps by default, because it means