X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d11268884fd82cfe72673566e403a40105ce703..07aaa1a4b853b64e61c01a9daf8a322d3896c36b:/src/os2/textctrl.cpp?ds=sidebyside diff --git a/src/os2/textctrl.cpp b/src/os2/textctrl.cpp index 0645fb3ed2..91a81672f6 100644 --- a/src/os2/textctrl.cpp +++ b/src/os2/textctrl.cpp @@ -680,10 +680,11 @@ void wxTextCtrl::SetSelection( } // end of wxTextCtrl::SetSelection bool wxTextCtrl::LoadFile( - const wxString& rsFile + const wxString& rsFile, + int fileType ) { - if ( wxTextCtrlBase::LoadFile(rsFile) ) + if ( wxTextCtrlBase::DoLoadFile(rsFile, fileType) ) { // // Update the size limit if needed @@ -692,7 +693,7 @@ bool wxTextCtrl::LoadFile( return true; } return false; -} // end of wxTextCtrl::LoadFile +} // end of wxTextCtrl::DoLoadFile bool wxTextCtrl::IsModified() const {