Use "override" in wxWebViewFactoryChromium
No real changes, just ensure that we really override the base class virtual functions.
This commit is contained in:
parent
b788711ca1
commit
9c30f459f8
1 changed files with 2 additions and 2 deletions
|
|
@ -1455,14 +1455,14 @@ wxWebViewChromiumEntry gs_chromiumEntryHook;
|
|||
class WXDLLIMPEXP_WEBVIEW_CHROMIUM wxWebViewFactoryChromium : public wxWebViewFactory
|
||||
{
|
||||
public:
|
||||
virtual wxWebView* Create() { return new wxWebViewChromium; }
|
||||
virtual wxWebView* Create() override { return new wxWebViewChromium; }
|
||||
virtual wxWebView* Create(wxWindow* parent,
|
||||
wxWindowID id,
|
||||
const wxString& url = wxWebViewDefaultURLStr,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = wxWebViewNameStr)
|
||||
const wxString& name = wxWebViewNameStr) override
|
||||
{ return new wxWebViewChromium(parent, id, url, pos, size, style, name); }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue