]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/variant.h
compilation fix
[wxWidgets.git] / include / wx / variant.h
index f31d4db9bcb59854f322cfa808c6e01ee7d9b6d0..569793c5d3e16a3a08046860f36f303e2b4f4846 100644 (file)
 #ifndef _WX_VARIANT_H_
 #define _WX_VARIANT_H_
 
 #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"
 #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
 #include "wx/list.h"
 
 #if wxUSE_DATETIME
@@ -45,7 +46,7 @@
  * overloading wxVariant with unnecessary functionality.
  */
 
  * overloading wxVariant with unnecessary functionality.
  */
 
-class WXDLLEXPORT_BASE wxVariantData: public wxObject
+class WXDLLIMPEXP_BASE wxVariantData: public wxObject
 {
 DECLARE_ABSTRACT_CLASS(wxVariantData)
 public:
 {
 DECLARE_ABSTRACT_CLASS(wxVariantData)
 public:
@@ -79,7 +80,7 @@ public:
  * this class too much.
  */
 
  * this class too much.
  */
 
-class WXDLLEXPORT_BASE wxVariant: public wxObject
+class WXDLLIMPEXP_BASE wxVariant: public wxObject
 {
 DECLARE_DYNAMIC_CLASS(wxVariant)
 public:
 {
 DECLARE_DYNAMIC_CLASS(wxVariant)
 public:
@@ -284,7 +285,7 @@ protected:
        ((classname*)(var.IsValueKindOf(&classname::sm_class##classname) ?\
                      var.GetWxObjectPtr() : NULL));
 
        ((classname*)(var.IsValueKindOf(&classname::sm_class##classname) ?\
                      var.GetWxObjectPtr() : NULL));
 
-extern wxVariant WXDLLEXPORT_BASE wxNullVariant;
+extern wxVariant WXDLLIMPEXP_BASE wxNullVariant;
 
 #endif
     // _WX_VARIANT_H_
 
 #endif
     // _WX_VARIANT_H_