X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8366ab05cd8541c272e5132e2482e9cfb20cbf27..9a0a58f5afb88fc72f04333e32208e3b3bf2ccc5:/src/generic/srchctlg.cpp diff --git a/src/generic/srchctlg.cpp b/src/generic/srchctlg.cpp index 2beebcf613..49b469f033 100644 --- a/src/generic/srchctlg.cpp +++ b/src/generic/srchctlg.cpp @@ -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) {