X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/886dd7d28e50c003cc88b81b968d487a3c17b0d7..b33f7651ae55310d7d76b0205e409464ba8af484:/include/wx/cmdline.h?ds=sidebyside diff --git a/include/wx/cmdline.h b/include/wx/cmdline.h index 5395fe7a15..a6d7a0fa41 100644 --- a/include/wx/cmdline.h +++ b/include/wx/cmdline.h @@ -13,16 +13,18 @@ #ifndef _WX_CMDLINE_H_ #define _WX_CMDLINE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "cmdline.h" #endif #include "wx/defs.h" -#include "wx/string.h" #if wxUSE_CMDLINE_PARSER -class WXDLLEXPORT_BASE wxDateTime; +#include "wx/string.h" +#include "wx/arrstr.h" + +class WXDLLIMPEXP_BASE wxDateTime; // ---------------------------------------------------------------------------- // constants @@ -91,7 +93,7 @@ struct wxCmdLineEntryDesc // 4. use GetXXX() to retrieve the parsed info // ---------------------------------------------------------------------------- -class WXDLLEXPORT_BASE wxCmdLineParser +class WXDLLIMPEXP_BASE wxCmdLineParser { public: // ctors and initializers @@ -219,7 +221,7 @@ private: // this function is always available (even if !wxUSE_CMDLINE_PARSER) because it // is used by wxWin itself under Windows -class WXDLLEXPORT_BASE wxCmdLineParser +class WXDLLIMPEXP_BASE wxCmdLineParser { public: static wxArrayString ConvertStringToArgs(const wxChar *cmdline);