// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "variant.h"
#endif
{
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;