- 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
+ 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