X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d0c8c55aca3143aa315c7372eef1327c98c76084..4e15d1caa03346c126015019c1fdf093033ef40b:/samples/stc/edit.cpp diff --git a/samples/stc/edit.cpp b/samples/stc/edit.cpp index ed4c804711..17e3737927 100644 --- a/samples/stc/edit.cpp +++ b/samples/stc/edit.cpp @@ -533,18 +533,6 @@ bool Edit::LoadFile (const wxString &filename) { // load file in edit and clear undo if (!filename.empty()) m_filename = filename; -// wxFile file (m_filename); -// if (!file.IsOpened()) return false; - ClearAll (); -// long lng = file.Length (); -// if (lng > 0) { -// wxString buf; -// wxChar *buff = buf.GetWriteBuf (lng); -// file.Read (buff, lng); -// buf.UngetWriteBuf (); -// InsertText (0, buf); -// } -// file.Close(); wxStyledTextCtrl::LoadFile(m_filename);