]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/applet/prepifelse.cpp
wxMGL bugfixes
[wxWidgets.git] / contrib / src / applet / prepifelse.cpp
index 06e12bdcd8427f08e9e89f445af21186198fef22..cc209ce795f622de51d303b2bf2e71bc12bd395d 100644 (file)
@@ -130,7 +130,7 @@ wxString wxIfElsePrep::Process(
            if (c != -1) cname = cname.Mid(0, c);
 
         // Grab the value from the variable class identified by cname
-        value = wxIfElseVariable::GetValue(cname);
+        value = wxIfElseVariable::FindValue(cname);
 
         // Find the end of the tag (<!--#endif-->) and copy it all into the variable code
         end = ((output.Mid(b)).Lower()).Find("<!--#endif-->");