diff --git a/wxPython/src/html.i b/wxPython/src/html.i
index 63948ad85e..ba3f6c8d6d 100644
--- a/wxPython/src/html.i
+++ b/wxPython/src/html.i
@@ -1546,7 +1546,7 @@ public:
void RefreshLists();
// Gets the HTML window
- wxHtmlWindow* GetHtmlWindow() const;
+ wxPyHtmlWindow* GetHtmlWindow() const;
// Gets the splitter window
wxSplitterWindow* GetSplitterWindow();