Stub out SetToolTip to avoid massive ifdefing when encountering
a platform that doesn't support them git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -906,6 +906,10 @@ public:
|
|||||||
// get the associated tooltip or NULL if none
|
// get the associated tooltip or NULL if none
|
||||||
wxToolTip* GetToolTip() const { return m_tooltip; }
|
wxToolTip* GetToolTip() const { return m_tooltip; }
|
||||||
wxString GetToolTipText() const ;
|
wxString GetToolTipText() const ;
|
||||||
|
#else
|
||||||
|
// make it much easier to compile apps in an environment
|
||||||
|
// that doesn't support tooltips, such as PocketPC
|
||||||
|
inline void SetToolTip( const wxString & WXUNUSED(tip) ) {}
|
||||||
#endif // wxUSE_TOOLTIPS
|
#endif // wxUSE_TOOLTIPS
|
||||||
|
|
||||||
// drag and drop
|
// drag and drop
|
||||||
|
Reference in New Issue
Block a user