define SetHelpText() to do nothing when wxUSE_HELP==0, otherwise we'd need to #ifdef all its calls in wx code to allow compilation with wxUSE_HELP==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c54a8b6456
commit
6c3c55cf30
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user