From: Robin Dunn Date: Tue, 19 Apr 2005 03:19:23 +0000 (+0000) Subject: Change the access of the event handler functions for Patch #1185584 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5e6880e647304446f3b2d0fd268dfa9646caa9e0 Change the access of the event handler functions for Patch #1185584 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/include/wx/stc/stc.h b/contrib/include/wx/stc/stc.h index 04caf5a5da..f797285132 100644 --- a/contrib/include/wx/stc/stc.h +++ b/contrib/include/wx/stc/stc.h @@ -2954,7 +2954,7 @@ public: #ifndef SWIG -private: +protected: // Event handlers void OnPaint(wxPaintEvent& evt); void OnScrollWin(wxScrollWinEvent& evt); @@ -2983,6 +2983,7 @@ private: void NotifyChange(); void NotifyParent(SCNotification* scn); +private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxStyledTextCtrl) diff --git a/contrib/src/stc/stc.h.in b/contrib/src/stc/stc.h.in index 323e0f3c3f..0df1ebccf0 100644 --- a/contrib/src/stc/stc.h.in +++ b/contrib/src/stc/stc.h.in @@ -265,7 +265,7 @@ public: #ifndef SWIG -private: +protected: // Event handlers void OnPaint(wxPaintEvent& evt); void OnScrollWin(wxScrollWinEvent& evt); @@ -294,6 +294,7 @@ private: void NotifyChange(); void NotifyParent(SCNotification* scn); +private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxStyledTextCtrl) diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h index 04caf5a5da..f797285132 100644 --- a/include/wx/stc/stc.h +++ b/include/wx/stc/stc.h @@ -2954,7 +2954,7 @@ public: #ifndef SWIG -private: +protected: // Event handlers void OnPaint(wxPaintEvent& evt); void OnScrollWin(wxScrollWinEvent& evt); @@ -2983,6 +2983,7 @@ private: void NotifyChange(); void NotifyParent(SCNotification* scn); +private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxStyledTextCtrl) diff --git a/src/stc/stc.h.in b/src/stc/stc.h.in index 323e0f3c3f..0df1ebccf0 100644 --- a/src/stc/stc.h.in +++ b/src/stc/stc.h.in @@ -265,7 +265,7 @@ public: #ifndef SWIG -private: +protected: // Event handlers void OnPaint(wxPaintEvent& evt); void OnScrollWin(wxScrollWinEvent& evt); @@ -294,6 +294,7 @@ private: void NotifyChange(); void NotifyParent(SCNotification* scn); +private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxStyledTextCtrl)