X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f4a0c5be34be837210768501c13dbcff81e533c..7491d644e6103afc2a69b750ca255218181b63a3:/include/wx/variant.h diff --git a/include/wx/variant.h b/include/wx/variant.h index a52b72239c..58f4bf2380 100644 --- a/include/wx/variant.h +++ b/include/wx/variant.h @@ -79,7 +79,9 @@ public: wxVariant(); 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 char* val, const wxString& name = g_szNul); // Necessary or VC++ assumes bool! @@ -114,9 +116,11 @@ public: bool operator== (char value) const; bool operator!= (char value) const; void operator= (char value) ; +#ifdef HAVE_BOOL bool operator== (bool value) const; bool operator!= (bool value) const; void operator= (bool value) ; +#endif bool operator== (const wxString& value) const; bool operator!= (const wxString& value) const; void operator= (const wxString& value) ;