X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/561a367d40841defbb8119403122ad168aca6804..d74358bc4102e5056875dd36b880b7911ef91d55:/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