diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h
index 890012dc7b..73de0e2a99 100644
--- a/include/wx/html/htmlwin.h
+++ b/include/wx/html/htmlwin.h
@@ -162,7 +162,6 @@ class WXDLLEXPORT wxHtmlWindow : public wxScrolledWindow
void OnSize(wxSizeEvent& event);
void OnMouseEvent(wxMouseEvent& event);
void OnIdle(wxIdleEvent& event);
- void OnKeyDown(wxKeyEvent& event);
virtual wxHtmlFilter *GetDefaultFilter() {return new wxHtmlFilterPlainText;}
// returns new filter (will be stored into m_DefaultFilter variable)