diff --git a/src/common/textcmn.cpp b/src/common/textcmn.cpp index d620dff1b9..402037e1e1 100644 --- a/src/common/textcmn.cpp +++ b/src/common/textcmn.cpp @@ -745,7 +745,7 @@ bool wxTextCtrlBase::DoLoadFile(const wxString& filename, int WXUNUSED(fileType) wxString text; if ( file.ReadAll(&text) ) { - SetValue(text); + ChangeValue(text); DiscardEdits();