Remove commented out stream operations in wxSearchCtrl
Just remove unused and unnecessary declarations.
This commit is contained in:
@@ -172,23 +172,6 @@ public:
|
|||||||
virtual bool DoAutoCompleteFileNames(int flags) wxOVERRIDE;
|
virtual bool DoAutoCompleteFileNames(int flags) wxOVERRIDE;
|
||||||
virtual bool DoAutoCompleteCustom(wxTextCompleter *completer) wxOVERRIDE;
|
virtual bool DoAutoCompleteCustom(wxTextCompleter *completer) wxOVERRIDE;
|
||||||
|
|
||||||
#if 0
|
|
||||||
|
|
||||||
// override streambuf method
|
|
||||||
#if wxHAS_TEXT_WINDOW_STREAM
|
|
||||||
int overflow(int i);
|
|
||||||
#endif // wxHAS_TEXT_WINDOW_STREAM
|
|
||||||
|
|
||||||
// stream-like insertion operators: these are always available, whether we
|
|
||||||
// were, or not, compiled with streambuf support
|
|
||||||
wxTextCtrl& operator<<(const wxString& s);
|
|
||||||
wxTextCtrl& operator<<(int i);
|
|
||||||
wxTextCtrl& operator<<(long i);
|
|
||||||
wxTextCtrl& operator<<(float f);
|
|
||||||
wxTextCtrl& operator<<(double d);
|
|
||||||
wxTextCtrl& operator<<(wxChar c);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// do the window-specific processing after processing the update event
|
// do the window-specific processing after processing the update event
|
||||||
virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) wxOVERRIDE;
|
virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) wxOVERRIDE;
|
||||||
|
|
||||||
|
|||||||
@@ -883,23 +883,6 @@ void wxSearchCtrl::SetCancelBitmap( const wxBitmap& bitmap )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
|
|
||||||
// override streambuf method
|
|
||||||
#if wxHAS_TEXT_WINDOW_STREAM
|
|
||||||
int overflow(int i);
|
|
||||||
#endif // wxHAS_TEXT_WINDOW_STREAM
|
|
||||||
|
|
||||||
// stream-like insertion operators: these are always available, whether we
|
|
||||||
// were, or not, compiled with streambuf support
|
|
||||||
wxTextCtrl& operator<<(const wxString& s);
|
|
||||||
wxTextCtrl& operator<<(int i);
|
|
||||||
wxTextCtrl& operator<<(long i);
|
|
||||||
wxTextCtrl& operator<<(float f);
|
|
||||||
wxTextCtrl& operator<<(double d);
|
|
||||||
wxTextCtrl& operator<<(const wxChar c);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Note that overriding DoSetValue() is currently insufficient because the base
|
// Note that overriding DoSetValue() is currently insufficient because the base
|
||||||
// class ChangeValue() only updates m_hintData of this object (which is null
|
// class ChangeValue() only updates m_hintData of this object (which is null
|
||||||
// anyhow), instead of updating m_text->m_hintData, see #16998.
|
// anyhow), instead of updating m_text->m_hintData, see #16998.
|
||||||
|
|||||||
Reference in New Issue
Block a user