X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45a2f9494e436ff6c86a366c52ec2e495a49e30b..0f8218d7ca7c8913bfdf82cad2f7be117a662b0d:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index ad037aca48..cb66b14bc8 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -5,7 +5,7 @@ // Modified by: Ron Lee // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) wxWidgets team +// Copyright: (c) Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -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