From 6feb12dcee7a2a6bcade8f213b1a708f0799c71e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 22 Jun 2025 20:52:56 +0200 Subject: [PATCH] Fix wxHelpProvider::GetHelp() documentation It had (at least since the conversion of the original LaTeX documentation to Doxygen) completely wrong description. Closes #25543. --- interface/wx/cshelp.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/interface/wx/cshelp.h b/interface/wx/cshelp.h index 1827f1227f..92d46cc7a9 100644 --- a/interface/wx/cshelp.h +++ b/interface/wx/cshelp.h @@ -61,9 +61,11 @@ public: static wxHelpProvider* Get(); /** - This version associates the given text with all windows with this id. - May be used to set the same help string for all Cancel buttons in - the application, for example. + Get the help string for the given window. + + The interpretation of the returned string is help provider dependent, + but empty string always means that no help is associated with this + window. */ virtual wxString GetHelp(const wxWindow* window) = 0;