X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/561a367d40841defbb8119403122ad168aca6804..85fa5d02d8a98d59bf1c302bc26212f3f84d1d81:/include/wx/window.h 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