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:
@@ -1405,9 +1405,9 @@ void wxTextCtrl::DoSetSelection(long from, long to, bool scrollCaret)
|
||||
// Working with files
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
bool wxTextCtrl::LoadFile(const wxString& file)
|
||||
bool wxTextCtrl::DoLoadFile(const wxString& file, int fileType)
|
||||
{
|
||||
if ( wxTextCtrlBase::LoadFile(file) )
|
||||
if ( wxTextCtrlBase::DoLoadFile(file, fileType) )
|
||||
{
|
||||
// update the size limit if needed
|
||||
AdjustSpaceLimit();
|
||||
|
Reference in New Issue
Block a user