]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/applet/prepecho.cpp
Fixed an OOR related bug that happened when a class has been renamed.
[wxWidgets.git] / contrib / src / applet / prepecho.cpp
index 9fc3f9985b1b34710f6dbd0a047c13c9075a45d4..85f7198f72b2905512b946131aa15460194d574c 100644 (file)
@@ -97,7 +97,7 @@ wxString wxEchoPrep::Process(
             cname = tag.Mid(10, n);
 
             // grab the value from the class, put it in tag since the data is no longer needed
-            tag = wxEchoVariable::GetValue(cname, NULL);
+            tag = wxEchoVariable::FindValue(cname, NULL);
             }
         else {
             // Find the parms
@@ -114,7 +114,7 @@ wxString wxEchoPrep::Process(
             cname = tag.Mid(10, n);
 
             // grab the value from the class, put it in tag since the data is no longer needed
-            tag = wxEchoVariable::GetValue(cname, parms.c_str());
+            tag = wxEchoVariable::FindValue(cname, parms.c_str());
             }