Added DoLoadFile, DoSaveFile to wxTextCtrlBase

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-09-24 11:40:33 +00:00
parent 3bb918c097
commit 3306aec124
16 changed files with 102 additions and 85 deletions

View File

@@ -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
{