- 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 = g_szNul);
+ wxVariant(long val, const wxString& name = g_szNul);
+#ifdef HAVE_BOOL
+ wxVariant(bool val, const wxString& name = g_szNul);
+#endif
+ wxVariant(char val, const wxString& name = g_szNul);
+ wxVariant(const wxString& val, const wxString& name = g_szNul);
+ wxVariant(const wxChar* val, const wxString& name = g_szNul); // Necessary or VC++ assumes bool!
+ wxVariant(const wxStringList& val, const wxString& name = g_szNul);
+ wxVariant(const wxList& val, const wxString& name = g_szNul); // List of variants
+#if wxUSE_TIMEDATE
+ wxVariant(const wxTime& val, const wxString& name = g_szNul); // Time
+ wxVariant(const wxDate& val, const wxString& name = g_szNul); // Date
+#endif
+ wxVariant(void* ptr, const wxString& name = g_szNul); // void* (general purpose)
+ wxVariant(wxVariantData* data, const wxString& name = g_szNul); // User-defined data