git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12754
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxCHECK_MSG( wxTheApp, 0, wxT("You have to define an instance of wxApp!") );
// save the WinMain() parameters
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
wxTheApp->m_nCmdShow = nCmdShow;
// We really don't want timestamps by default, because it means