From 6c7b8c53688823ea0849cf009b9558d89a60fedb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 13 Jun 2016 15:16:22 +0200 Subject: [PATCH] Don't document obsolete wxHelpController::Initialize() overload There are no help controllers using the TCP port number passed to this Initialize() overload anyhow, so don't document it neither. It would be even better to get rid of it entirely, but this would require slightly more effort. See #17566. --- interface/wx/help.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/interface/wx/help.h b/interface/wx/help.h index 024dc37bee..dfa6f489ed 100644 --- a/interface/wx/help.h +++ b/interface/wx/help.h @@ -140,10 +140,10 @@ public: */ virtual wxWindow* GetParentWindow() const; - //@{ /** - Initializes the help instance with a help filename, and optionally a server - socket number if using wxHelp (now obsolete). Does not invoke the help viewer. + Initializes the help instance with a help filename. + + Does not invoke the help viewer. This must be called directly after the help instance object is created and before any attempts to communicate with the viewer. @@ -152,8 +152,6 @@ public: while searching for a suitable file. For WinHelp, the hlp extension is appended. */ virtual bool Initialize(const wxString& file); - virtual bool Initialize(const wxString& file, int server); - //@} /** If the help viewer is not running, runs it, and searches for sections matching