From: Václav Slavík Date: Fri, 14 Apr 2006 20:43:06 +0000 (+0000) Subject: use public inheritance when deriving from wxHtmlWindowMouseHelper so that overriden... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/31297dbbd0296715024aa19043ad0b41c0e29fc9 use public inheritance when deriving from wxHtmlWindowMouseHelper so that overriden methods can call base versions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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: