wxTextCtrl::LoadFile no longer sends a text event, to correct problems with spurious modification of documents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8410881294
commit
b14cd77b2a
@ -745,7 +745,7 @@ bool wxTextCtrlBase::DoLoadFile(const wxString& filename, int WXUNUSED(fileType)
|
||||
wxString text;
|
||||
if ( file.ReadAll(&text) )
|
||||
{
|
||||
SetValue(text);
|
||||
ChangeValue(text);
|
||||
|
||||
DiscardEdits();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user