From: Robin Dunn Date: Fri, 30 Nov 2001 05:07:43 +0000 (+0000) Subject: Fixed some warnings in wxSTC X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4161723f46249f316c0d4932364d413eefc7460c?ds=inline Fixed some warnings in wxSTC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }