make GetUsageString() public, this is useful at least for the tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -192,6 +192,9 @@ public:
|
|||||||
// give the usage message describing all program options
|
// give the usage message describing all program options
|
||||||
void Usage() const;
|
void Usage() const;
|
||||||
|
|
||||||
|
// return the usage string, call Usage() to directly show it to the user
|
||||||
|
wxString GetUsageString() const;
|
||||||
|
|
||||||
// get the command line arguments
|
// get the command line arguments
|
||||||
// ------------------------------
|
// ------------------------------
|
||||||
|
|
||||||
@@ -229,9 +232,6 @@ public:
|
|||||||
static wxArrayString ConvertStringToArgs(const wxString& cmdline);
|
static wxArrayString ConvertStringToArgs(const wxString& cmdline);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// get usage string
|
|
||||||
wxString GetUsageString() const;
|
|
||||||
|
|
||||||
// common part of all ctors
|
// common part of all ctors
|
||||||
void Init();
|
void Init();
|
||||||
|
|
||||||
|
@@ -430,5 +430,12 @@ public:
|
|||||||
@see SetLogo()
|
@see SetLogo()
|
||||||
*/
|
*/
|
||||||
void Usage() const;
|
void Usage() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Return the string containing the program usage description.
|
||||||
|
|
||||||
|
Call Usage() to directly show this string to the user.
|
||||||
|
*/
|
||||||
|
wxString GetUsageString() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user