X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..fc8a2ec1f69e85047cc94e83312fcdb7259d6c68:/samples/docview/doc.cpp diff --git a/samples/docview/doc.cpp b/samples/docview/doc.cpp index e093d82ae3..93a0a26363 100644 --- a/samples/docview/doc.cpp +++ b/samples/docview/doc.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: Vadim Zeitlin: merge with the MDI version and general cleanup // Created: 04/01/98 -// RCS-ID: $Id$ // Copyright: (c) 1998 Julian Smart // (c) 2008 Vadim Zeitlin // Licence: wxWindows licence @@ -196,7 +195,7 @@ bool wxTextDocument::OnCreate(const wxString& path, long flags) // when it's modified GetTextCtrl()->Connect ( - wxEVT_COMMAND_TEXT_UPDATED, + wxEVT_TEXT, wxCommandEventHandler(wxTextDocument::OnTextChange), NULL, this