From f1734a29b6a5bc8a4eeb2d8f44412b40ddc5843b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 5 Sep 2023 20:52:50 +0200 Subject: [PATCH] Use compiler-generated wxWebViewEvent default ctor No real changes, just let the compiler do what it does best and generate the code for us instead of writing "{}" explicitly. --- include/wx/webview.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/webview.h b/include/wx/webview.h index 2fa343cb54..723c1b279f 100644 --- a/include/wx/webview.h +++ b/include/wx/webview.h @@ -375,7 +375,8 @@ protected: class WXDLLIMPEXP_WEBVIEW wxWebViewEvent : public wxNotifyEvent { public: - wxWebViewEvent() {} + wxWebViewEvent() = default; + wxWebViewEvent(wxEventType type, int id, const wxString& url, const wxString target, wxWebViewNavigationActionFlags flags = wxWEBVIEW_NAV_ACTION_NONE,