]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/doc.cpp
wxRTC table layout now uses cell content to calculate column widths if no other width...
[wxWidgets.git] / samples / docview / doc.cpp
index e093d82ae3c578ec913eb3657fe025ba20498099..93a0a26363ceb72198886de42f3564cecb149b8a 100644 (file)
@@ -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