- wxVariant(double val, const wxString& name = g_szNul);
- wxVariant(long val, const wxString& name = g_szNul);
- wxVariant(bool val, const wxString& name = g_szNul);
- wxVariant(char val, const wxString& name = g_szNul);
- wxVariant(const wxString& val, const wxString& name = g_szNul);
- wxVariant(const char* 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(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!
+#if WXWIN_COMPATIBILITY_2_4
+ wxDEPRECATED( wxVariant(const wxStringList& val, const wxString& name = wxEmptyString) );
+#endif
+ 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
+#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