From d3f6d73cf88d7bad3019b4ceef94301d5cb6049f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 4 Nov 2002 21:46:59 +0000 Subject: [PATCH] added IsModified() test git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/text/text.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/samples/text/text.cpp b/samples/text/text.cpp index d31035259d..9aaa7d1d95 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -754,7 +754,11 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event) break; case WXK_F6: - SetValue("SetValue() has been called"); + wxLogMessage(_T("IsModified() before SetValue(): %d"), + IsModified()); + SetValue(_T("SetValue() has been called")); + wxLogMessage(_T("IsModified() after SetValue(): %d"), + IsModified()); break; case WXK_F7: