]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/textctrl.cpp
[ 1537065 ] wxImage: Higher quality scaling/sampling
[wxWidgets.git] / src / os2 / textctrl.cpp
index c98efebc7d1d1e161d7217d40fd49aefe6917c8c..91a81672f62262f4b5a1150d40951b1e9b86a65c 100644 (file)
@@ -55,9 +55,9 @@
 // event tables and other macros
 // ----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
 
-BEGIN_EVENT_TABLE(wxTextCtrl, wxControl)
+BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase)
     EVT_CHAR(wxTextCtrl::OnChar)
     EVT_DROP_FILES(wxTextCtrl::OnDropFiles)
 
@@ -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
 {