Deprecate wxTipProvider::PreprocessTip().
It is completely useless, and there is no reason to keep it. Closes #15916. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,14 +44,15 @@ public:
|
||||
// from where to start the next time)
|
||||
size_t GetCurrentTip() const { return m_currentTip; }
|
||||
|
||||
// Allows any user-derived class to optionally override this function to
|
||||
// modify the tip as soon as it is read. If return wxEmptyString, then
|
||||
// the tip is skipped, and the next one is read.
|
||||
virtual wxString PreprocessTip(const wxString& tip) { return tip; }
|
||||
|
||||
// virtual dtor for the base class
|
||||
virtual ~wxTipProvider() { }
|
||||
|
||||
|
||||
#ifdef WXWIN_COMPATIBILITY_3_0
|
||||
wxDEPRECATED_MSG("this method does nothing, simply don't call it")
|
||||
wxString PreprocessTip(const wxString& tip) { return tip; }
|
||||
#endif
|
||||
|
||||
protected:
|
||||
size_t m_currentTip;
|
||||
};
|
||||
|
Reference in New Issue
Block a user