]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/doc.cpp
Rebake all the samples and others makefiles too.
[wxWidgets.git] / samples / docview / doc.cpp
index e093d82ae3c578ec913eb3657fe025ba20498099..efdbf8adf7edd21ff11c7a8fe5db8c916e73fdb6 100644 (file)
@@ -196,7 +196,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