]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed totally wrong change in r49070
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Oct 2007 10:45:34 +0000 (10:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Oct 2007 10:45:34 +0000 (10:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/srchctlg.cpp

index 2beebcf6137fcd621533bd79fca2695e6d83db2a..49b469f03310bc7e7d9262a887b928ce4e4f0265 100644 (file)
@@ -139,17 +139,17 @@ public:
     // needs to forward to them
     void DoSetValue(const wxString& value, int flags)
     {
-        m_text->DoSetValue(value, flags);
+        wxTextCtrl::DoSetValue(value, flags);
     }
 
     bool DoLoadFile(const wxString& file, int fileType)
     {
-        return m_text->DoLoadFile(file, fileType);
+        return wxTextCtrl::DoLoadFile(file, fileType);
     }
 
     bool DoSaveFile(const wxString& file, int fileType)
     {
-        return m_text->DoSaveFile(file, fileType);
+        return wxTextCtrl::DoSaveFile(file, fileType);
     }
 
 protected:
@@ -914,6 +914,21 @@ wxTextCtrl& operator<<(double d);
 wxTextCtrl& operator<<(const wxChar c);
 #endif
 
+void wxSearchCtrl::DoSetValue(const wxString& value, int flags)
+{
+    m_text->DoSetValue(value, flags);
+}
+
+bool wxSearchCtrl::DoLoadFile(const wxString& file, int fileType)
+{
+    return m_text->DoLoadFile(file, fileType);
+}
+
+bool wxSearchCtrl::DoSaveFile(const wxString& file, int fileType)
+{
+    return m_text->DoSaveFile(file, fileType);
+}
+
 // do the window-specific processing after processing the update event
 void wxSearchCtrl::DoUpdateWindowUI(wxUpdateUIEvent& event)
 {