diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index 1a250ff737..62e4136c59 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -134,7 +134,7 @@ public: */ class WXDLLIMPEXP_HTML wxHtmlWindowMouseHelper { -public: +protected: /** Ctor. @@ -224,7 +224,7 @@ private: class WXDLLIMPEXP_HTML wxHtmlWindow : public wxScrolledWindow, public wxHtmlWindowInterface, - private wxHtmlWindowMouseHelper + public wxHtmlWindowMouseHelper { DECLARE_DYNAMIC_CLASS(wxHtmlWindow) friend class wxHtmlWinModule; diff --git a/include/wx/htmllbox.h b/include/wx/htmllbox.h index 67fb764283..8a2a379e35 100644 --- a/include/wx/htmllbox.h +++ b/include/wx/htmllbox.h @@ -30,7 +30,7 @@ class WXDLLIMPEXP_HTML wxHtmlListBoxStyle; class WXDLLIMPEXP_HTML wxHtmlListBox : public wxVListBox, public wxHtmlWindowInterface, - private wxHtmlWindowMouseHelper + public wxHtmlWindowMouseHelper { DECLARE_ABSTRACT_CLASS(wxHtmlListBox) public: