* wxVariantDataString
*/
-#if defined(__BORLANDC__) && defined(__WIN16__)
-// Change name because of truncation
-#define wxVariantDataString wxVariantStringData
-#endif
-
class WXDLLIMPEXP_BASE wxVariantDataString: public wxVariantData
{
-#if defined(__BORLANDC__) && defined(__WIN16__)
-DECLARE_DYNAMIC_CLASS(wxVariantStringData)
-#else
DECLARE_DYNAMIC_CLASS(wxVariantDataString)
-#endif
public:
wxVariantDataString() { }
wxVariantDataString(const wxString& value) { m_value = value; }
return TRUE;
}
-#if defined(__BORLANDC__) && defined(__WIN16__)
-IMPLEMENT_DYNAMIC_CLASS(wxVariantStringData, wxVariantData)
-#else
IMPLEMENT_DYNAMIC_CLASS(wxVariantDataString, wxVariantData)
-#endif
/*
* wxVariantDataVoidPtr
{
wxString val(((wxVariantDataString*)GetData())->GetValue());
val.MakeLower();
- if (val == wxT("TRUE") || val == wxT("yes"))
+ if (val == wxT("true") || val == wxT("yes"))
*value = TRUE;
- else if (val == wxT("FALSE") || val == wxT("no"))
+ else if (val == wxT("false") || val == wxT("no"))
*value = FALSE;
else
return FALSE;