more things are done by configure: checks for bool, whether overloading based

on size_t/int works or not (for wxString), the type of 3rd argument to
getsockaddr, absence of libXpm is not fatal (not tested), whether strings.h
exists


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-03-12 19:12:49 +00:00
parent 55b7bba191
commit 57493f9f85
9 changed files with 808 additions and 565 deletions

View File

@@ -457,6 +457,7 @@ bool wxVariantDataReal::Read(wxString& str)
return TRUE;
}
#ifdef HAVE_BOOL
/*
* wxVariantDataBool
*/
@@ -547,6 +548,7 @@ bool wxVariantDataBool::Read(wxString& str)
m_value = (atol((const char*) str) != 0);
return TRUE;
}
#endif // HAVE_BOOL
/*
* wxVariantDataChar
@@ -991,11 +993,13 @@ wxVariant::wxVariant(long val, const wxString& name)
m_name = name;
}
#ifdef HAVE_BOOL
wxVariant::wxVariant(bool val, const wxString& name)
{
m_data = new wxVariantDataBool(val);
m_name = name;
}
#endif
wxVariant::wxVariant(char val, const wxString& name)
{
@@ -1205,6 +1209,7 @@ void wxVariant::operator= (char value)
}
}
#ifdef HAVE_BOOL
bool wxVariant::operator== (bool value) const
{
bool thisValue;
@@ -1232,6 +1237,7 @@ void wxVariant::operator= (bool value)
m_data = new wxVariantDataBool(value);
}
}
#endif // HAVE_BOOL
bool wxVariant::operator== (const wxString& value) const
{