From 4161723f46249f316c0d4932364d413eefc7460c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 30 Nov 2001 05:07:43 +0000 Subject: [PATCH] Fixed some warnings in wxSTC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/stc/stc.h | 4 +++- contrib/src/stc/stc.h.in | 4 +++- include/wx/stc/stc.h | 4 +++- src/stc/stc.h.in | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/contrib/include/wx/stc/stc.h b/contrib/include/wx/stc/stc.h index 804e4baba5..5cd478ed54 100644 --- a/contrib/include/wx/stc/stc.h +++ b/contrib/include/wx/stc/stc.h @@ -1653,8 +1653,10 @@ private: class wxStyledTextEvent : public wxCommandEvent { public: - wxStyledTextEvent(const wxStyledTextEvent& event); wxStyledTextEvent(wxEventType commandType=0, int id=0); +#ifndef SWIG + wxStyledTextEvent(const wxStyledTextEvent& event); +#endif ~wxStyledTextEvent() {} void SetPosition(int pos) { m_position = pos; } diff --git a/contrib/src/stc/stc.h.in b/contrib/src/stc/stc.h.in index 6a84dc5acb..1143c87309 100644 --- a/contrib/src/stc/stc.h.in +++ b/contrib/src/stc/stc.h.in @@ -207,8 +207,10 @@ private: class wxStyledTextEvent : public wxCommandEvent { public: - wxStyledTextEvent(const wxStyledTextEvent& event); wxStyledTextEvent(wxEventType commandType=0, int id=0); +#ifndef SWIG + wxStyledTextEvent(const wxStyledTextEvent& event); +#endif ~wxStyledTextEvent() {} void SetPosition(int pos) { m_position = pos; } diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h index 804e4baba5..5cd478ed54 100644 --- a/include/wx/stc/stc.h +++ b/include/wx/stc/stc.h @@ -1653,8 +1653,10 @@ private: class wxStyledTextEvent : public wxCommandEvent { public: - wxStyledTextEvent(const wxStyledTextEvent& event); wxStyledTextEvent(wxEventType commandType=0, int id=0); +#ifndef SWIG + wxStyledTextEvent(const wxStyledTextEvent& event); +#endif ~wxStyledTextEvent() {} void SetPosition(int pos) { m_position = pos; } diff --git a/src/stc/stc.h.in b/src/stc/stc.h.in index 6a84dc5acb..1143c87309 100644 --- a/src/stc/stc.h.in +++ b/src/stc/stc.h.in @@ -207,8 +207,10 @@ private: class wxStyledTextEvent : public wxCommandEvent { public: - wxStyledTextEvent(const wxStyledTextEvent& event); wxStyledTextEvent(wxEventType commandType=0, int id=0); +#ifndef SWIG + wxStyledTextEvent(const wxStyledTextEvent& event); +#endif ~wxStyledTextEvent() {} void SetPosition(int pos) { m_position = pos; } -- 2.45.2