// provide access to the base class protected methods to wxSearchCtrl which
// needs to forward to them
- using wxTextCtrl::DoSetValue;
- using wxTextCtrl::DoLoadFile;
- using wxTextCtrl::DoSaveFile;
+ void DoSetValue(const wxString& value, int flags)
+ {
+ m_text->DoSetValue(value, flags);
+ }
+
+ bool DoLoadFile(const wxString& file, int fileType)
+ {
+ return m_text->DoLoadFile(file, fileType);
+ }
+
+ bool DoSaveFile(const wxString& file, int fileType)
+ {
+ return m_text->DoSaveFile(file, fileType);
+ }
protected:
void OnText(wxCommandEvent& eventText)
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)
{