Fix shadow warning in wxHtmlHelpDialog ctor declaration

This is similar to 858248d055 (Fix declaration shadow warning in
wxHtmlHelpFrame, 2021-04-21) and fixes another -Wshadow from gcc 11 by
getting rid of the last parameter confusingly named as its type.

See #19153.
This commit is contained in:
Vadim Zeitlin
2021-10-22 01:37:20 +02:00
parent 98f056daf5
commit 4d5bdfeb77

View File

@@ -40,7 +40,7 @@ class WXDLLIMPEXP_HTML wxHtmlHelpDialog : public wxDialog
public:
wxHtmlHelpDialog(wxHtmlHelpData* data = NULL) { Init(data); }
wxHtmlHelpDialog(wxWindow* parent, wxWindowID wxWindowID,
wxHtmlHelpDialog(wxWindow* parent, wxWindowID id,
const wxString& title = wxEmptyString,
int style = wxHF_DEFAULT_STYLE, wxHtmlHelpData* data = NULL);
virtual ~wxHtmlHelpDialog();