]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/text/text.cpp
added wxTextCtrl::ChangeValue() which is the same as SetValue() but doesn't send...
[wxWidgets.git] / samples / text / text.cpp
index 87c2a6d6b1e9db760dda9c1f0619d7450b932ca2..525a21e2ddb97c7669ccfd78393f01b8fddaed24 100644 (file)
@@ -947,7 +947,7 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event)
         case WXK_F6:
             wxLogMessage(_T("IsModified() before SetValue(): %d"),
                          IsModified());
-            SetValue(_T("SetValue() has been called"));
+            ChangeValue(_T("ChangeValue() has been called"));
             wxLogMessage(_T("IsModified() after SetValue(): %d"),
                          IsModified());
             break;