X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf6ae2907c365869b10b61cbe3bde2768facd4d8..97f278b45316c0e6eca8d721bca94e45c1c771a2:/include/wx/variant.h?ds=inline diff --git a/include/wx/variant.h b/include/wx/variant.h index 7c1b224c80..569793c5d3 100644 --- a/include/wx/variant.h +++ b/include/wx/variant.h @@ -12,13 +12,14 @@ #ifndef _WX_VARIANT_H_ #define _WX_VARIANT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "variant.h" #endif #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" +#include "wx/arrstr.h" #include "wx/list.h" #if wxUSE_DATETIME @@ -45,7 +46,7 @@ * overloading wxVariant with unnecessary functionality. */ -class WXDLLEXPORT wxVariantData: public wxObject +class WXDLLIMPEXP_BASE wxVariantData: public wxObject { DECLARE_ABSTRACT_CLASS(wxVariantData) public: @@ -79,7 +80,7 @@ public: * this class too much. */ -class WXDLLEXPORT wxVariant: public wxObject +class WXDLLIMPEXP_BASE wxVariant: public wxObject { DECLARE_DYNAMIC_CLASS(wxVariant) public: @@ -284,7 +285,7 @@ protected: ((classname*)(var.IsValueKindOf(&classname::sm_class##classname) ?\ var.GetWxObjectPtr() : NULL)); -extern wxVariant WXDLLEXPORT wxNullVariant; +extern wxVariant WXDLLIMPEXP_BASE wxNullVariant; #endif // _WX_VARIANT_H_