X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..187202106f074d2a43bd9036a8b99a9b09316cb0:/include/wx/window.h?ds=sidebyside diff --git a/include/wx/window.h b/include/wx/window.h index f2227aecb5..cb66b14bc8 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -920,6 +920,10 @@ public: void SetHelpTextForId(const wxString& text); // get the help string associated with this window (may be empty) wxString GetHelpText() const; +#else + // silently ignore SetHelpText() calls + void SetHelpText(const wxString& WXUNUSED(text)) { } + void SetHelpTextForId(const wxString& WXUNUSED(text)) { } #endif // wxUSE_HELP // tooltips