diff --git a/include/wx/html/webkit.h b/include/wx/html/webkit.h
index d927a8b182..3bf3a38754 100644
--- a/include/wx/html/webkit.h
+++ b/include/wx/html/webkit.h
@@ -183,7 +183,7 @@ protected:
class WXDLLIMPEXP_CORE wxWebKitNewWindowEvent : public wxCommandEvent
{
- DECLARE_DYNAMIC_CLASS( wxWebViewNewWindowEvent )
+ DECLARE_DYNAMIC_CLASS( wxWebKitNewWindowEvent )
public:
wxString GetURL() const { return m_url; }
void SetURL(const wxString& url) { m_url = url; }