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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user