don't use using directive, Watcom seems to have problems with it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5fd636aa8a
commit
8366ab05cd
@ -137,9 +137,20 @@ public:
|
|||||||
|
|
||||||
// provide access to the base class protected methods to wxSearchCtrl which
|
// provide access to the base class protected methods to wxSearchCtrl which
|
||||||
// needs to forward to them
|
// needs to forward to them
|
||||||
using wxTextCtrl::DoSetValue;
|
void DoSetValue(const wxString& value, int flags)
|
||||||
using wxTextCtrl::DoLoadFile;
|
{
|
||||||
using wxTextCtrl::DoSaveFile;
|
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:
|
protected:
|
||||||
void OnText(wxCommandEvent& eventText)
|
void OnText(wxCommandEvent& eventText)
|
||||||
@ -903,21 +914,6 @@ wxTextCtrl& operator<<(double d);
|
|||||||
wxTextCtrl& operator<<(const wxChar c);
|
wxTextCtrl& operator<<(const wxChar c);
|
||||||
#endif
|
#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
|
// do the window-specific processing after processing the update event
|
||||||
void wxSearchCtrl::DoUpdateWindowUI(wxUpdateUIEvent& event)
|
void wxSearchCtrl::DoUpdateWindowUI(wxUpdateUIEvent& event)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user