- 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
+ 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
+ wxVariant(void* ptr, const wxString& name = wxEmptyString); // void* (general purpose)
+ wxVariant(wxObject* ptr, const wxString& name = wxEmptyString); //wxObject
+ wxVariant(wxVariantData* data, const wxString& name = wxEmptyString); // User-defined data
+//TODO: Need to document
+#if wxUSE_DATETIME
+ wxVariant(const wxDateTime& val, const wxString& name = wxEmptyString); // Date
+#endif // wxUSE_DATETIME
+ wxVariant(const wxArrayString& val, const wxString& name = wxEmptyString); // String array
+#if wxUSE_ODBC
+ wxVariant(const DATE_STRUCT* valptr, const wxString& name = wxEmptyString); // DateTime
+ wxVariant(const TIME_STRUCT* valptr, const wxString& name = wxEmptyString); // DateTime
+ wxVariant(const TIMESTAMP_STRUCT* valptr, const wxString& name = wxEmptyString); // DateTime