X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6bf0c9533b2ed4434e667936c0e3d2f534de0e4..f549e3dad9b8bed27ba24e2e2f017fd2adfce9be:/interface/wx/cmdline.h diff --git a/interface/wx/cmdline.h b/interface/wx/cmdline.h index a9b7630e9a..479239781c 100644 --- a/interface/wx/cmdline.h +++ b/interface/wx/cmdline.h @@ -336,6 +336,32 @@ public: */ ~wxCmdLineParser(); + /** + Adds an option with only long form. + + This is just a convenient wrapper for AddOption() passing an empty + string as short option name. + + @since 2.9.3 + */ + void AddLongOption(const wxString& lng, + const wxString& desc = wxEmptyString, + wxCmdLineParamType type = wxCMD_LINE_VAL_STRING, + int flags = 0); + + /** + Adds a switch with only long form. + + This is just a convenient wrapper for AddSwitch() passing an empty + string as short switch name. + + @since 2.9.3 + */ + + void AddLongSwitch(const wxString& lng, + const wxString& desc = wxEmptyString, + int flags = 0); + /** Add an option @a name with an optional long name @a lng (no long name if it is empty, which is default) taking a value of the given type