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

@@ -150,7 +150,7 @@ public:
void EnableLongOptions(bool enable = true);
void DisableLongOptions() { EnableLongOptions(false); }
bool AreLongOptionsEnabled();
bool AreLongOptionsEnabled() const;
// extra text may be shown by Usage() method if set by this function
void SetLogo(const wxString& logo);
@@ -189,7 +189,7 @@ public:
int Parse(bool showUsage = true);
// give the usage message describing all program options
void Usage();
void Usage() const;
// get the command line arguments
// ------------------------------
@@ -225,7 +225,7 @@ public:
private:
// get usage string
wxString GetUsageString();
wxString GetUsageString() const;
// common part of all ctors
void Init();