X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/87b6002d7c48dea4ebd53bbf60996d1a87a0a5c6..401e3b6e5f50f15571b86297b5d1e3f55c473f6f:/include/wx/window.h 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