X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..594ed110f77d9f29f7165a07bb806e5a4fa19b0e:/include/wx/cmdline.h diff --git a/include/wx/cmdline.h b/include/wx/cmdline.h index 5899ddf646..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 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 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 wxCmdLineParser +class WXDLLIMPEXP_BASE wxCmdLineParser { public: static wxArrayString ConvertStringToArgs(const wxChar *cmdline);