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)