]> git.saurik.com Git - wxWidgets.git/commitdiff
copare lower case
authorRobin Dunn <robin@alldunn.com>
Wed, 24 Mar 2004 23:02:28 +0000 (23:02 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 24 Mar 2004 23:02:28 +0000 (23:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/variant.cpp

index a697e7557745eab7775ff9f27db02493858826fc..9d85126a322db80393697981008b19e9f3e994df 100644 (file)
@@ -2019,9 +2019,9 @@ bool wxVariant::Convert(bool* value) const
     {
         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;