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:
parent
327788acc5
commit
bd996abe63
@ -842,7 +842,7 @@ int wxCmdLineParser::Parse(bool showUsage)
|
||||
}
|
||||
}
|
||||
|
||||
if ( !ok && errorMsg.length() != 0 )
|
||||
if ( !ok && (errorMsg.length() != 0 || helpRequested) )
|
||||
{
|
||||
wxString usage;
|
||||
wxMessageOutput* msgOut = wxMessageOutput::Get();
|
||||
|
Loading…
Reference in New Issue
Block a user