make wxCmdLineParser:Usage() const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-03-14 17:14:55 +00:00
parent 741085abe3
commit 779288b486
3 changed files with 19 additions and 30 deletions

View File

@@ -348,7 +348,7 @@ void wxCmdLineParser::EnableLongOptions(bool enable)
m_data->m_enableLongOptions = enable;
}
bool wxCmdLineParser::AreLongOptionsEnabled()
bool wxCmdLineParser::AreLongOptionsEnabled() const
{
return m_data->m_enableLongOptions;
}
@@ -945,7 +945,7 @@ int wxCmdLineParser::Parse(bool showUsage)
// give the usage message
// ----------------------------------------------------------------------------
void wxCmdLineParser::Usage()
void wxCmdLineParser::Usage() const
{
wxMessageOutput* msgOut = wxMessageOutput::Get();
if ( msgOut )
@@ -958,7 +958,7 @@ void wxCmdLineParser::Usage()
}
}
wxString wxCmdLineParser::GetUsageString()
wxString wxCmdLineParser::GetUsageString() const
{
wxString appname;
if ( m_data->m_arguments.empty() )