X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/494a19d6d9a7143206f064ecda6f0d817040a8fd..b342f8f0a604f553accba543b7feaf62dcc1df08:/include/wx/cmdline.h diff --git a/include/wx/cmdline.h b/include/wx/cmdline.h index 7e10524d01..ca9dbc04ea 100644 --- a/include/wx/cmdline.h +++ b/include/wx/cmdline.h @@ -17,6 +17,10 @@ #pragma interface "cmdline.h" #endif +#include "wx/defs.h" + +#if wxUSE_CMDLINE_PARSER + #include "wx/string.h" class WXDLLEXPORT wxDateTime; @@ -187,6 +191,9 @@ public: // gets the value of Nth parameter (as string only for now) wxString GetParam(size_t n = 0u) const; + // Resets switches and options + void Reset(); + private: // common part of all ctors void Init(); @@ -194,4 +201,6 @@ private: struct wxCmdLineParserData *m_data; }; +#endif // wxUSE_CMDLINE_PARSER + #endif // _WX_CMDLINE_H_