From 7649d8fc0012500529f63f59b675c43eabcce34e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 26 Jul 2004 20:16:19 +0000 Subject: [PATCH] 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 --- include/wx/window.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/window.h b/include/wx/window.h index 247786e090..dd75d380ee 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -906,6 +906,10 @@ public: // get the associated tooltip or NULL if none wxToolTip* GetToolTip() const { return m_tooltip; } 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 // drag and drop -- 2.45.2