#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
//a dynamic_cast /wxDynamicCast analogue.
#define wxGetVariantCast(var,classname) \
- ((classname*)(var.IsValueKindOf(&classname::sm_class##classname) ?\
+ ((classname*)(var.IsValueKindOf(&classname::ms_classInfo) ?\
var.GetWxObjectPtr() : NULL));
extern wxVariant WXDLLIMPEXP_BASE wxNullVariant;