Fixed yet another error in my wxCmdLineParser mdifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -842,7 +842,7 @@ int wxCmdLineParser::Parse(bool showUsage)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !ok && errorMsg.length() != 0 )
|
if ( !ok && (errorMsg.length() != 0 || helpRequested) )
|
||||||
{
|
{
|
||||||
wxString usage;
|
wxString usage;
|
||||||
wxMessageOutput* msgOut = wxMessageOutput::Get();
|
wxMessageOutput* msgOut = wxMessageOutput::Get();
|
||||||
|
Reference in New Issue
Block a user