- wxVariant(double val);
- wxVariant(long val);
- wxVariant(bool val);
- wxVariant(char val);
- wxVariant(const wxString& val);
- wxVariant(const char* val); // Necessary or VC++ assumes bool!
-/* Causes ambiguity
- wxVariant(const wxStringList& val);
-*/
- wxVariant(const wxList& val); // List of variants
+ wxVariant(double val, const wxString& name = wxEmptyString);
+ wxVariant(long val, const wxString& name = wxEmptyString);
+#ifdef HAVE_BOOL
+ wxVariant(bool val, const wxString& name = wxEmptyString);
+#endif
+ wxVariant(char val, const wxString& name = wxEmptyString);
+ wxVariant(const wxString& val, const wxString& name = wxEmptyString);
+ wxVariant(const wxChar* val, const wxString& name = wxEmptyString); // Necessary or VC++ assumes bool!
+ wxVariant(const wxStringList& val, const wxString& name = wxEmptyString);
+ wxVariant(const wxList& val, const wxString& name = wxEmptyString); // List of variants
+#if wxUSE_TIMEDATE
+ wxVariant(const wxTime& val, const wxString& name = wxEmptyString); // Time
+ wxVariant(const wxDate& val, const wxString& name = wxEmptyString); // Date
+#endif
+ wxVariant(void* ptr, const wxString& name = wxEmptyString); // void* (general purpose)
+ wxVariant(wxVariantData* data, const wxString& name = wxEmptyString); // User-defined data