]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/textctrl.cpp
[ 1537065 ] wxImage: Higher quality scaling/sampling
[wxWidgets.git] / src / os2 / textctrl.cpp
index 0645fb3ed2218f3793fb6b5ce98527f405f6e563..91a81672f62262f4b5a1150d40951b1e9b86a65c 100644 (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
 {