Don't convert args if NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2226ead00d
commit
3ac59f211b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user