Update the wxVersionInfo, and don't forget to initialize the new attributes of the event class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4858,8 +4858,8 @@ private:
|
||||
int m_x;
|
||||
int m_y;
|
||||
|
||||
int m_token; /* wxEVT_STC__MODIFIED with SC_MOD_CONTAINER */
|
||||
int m_annotationLinesAdded; /* wxEVT_STC_MODIFIED with SC_MOD_CHANGEANNOTATION */
|
||||
int m_token; // wxEVT_STC__MODIFIED with SC_MOD_CONTAINER
|
||||
int m_annotationLinesAdded; // wxEVT_STC_MODIFIED with SC_MOD_CHANGEANNOTATION
|
||||
int m_updated; // wxEVT_STC_UPDATEUI
|
||||
|
||||
|
||||
|
@@ -4933,6 +4933,10 @@ wxStyledTextEvent::wxStyledTextEvent(wxEventType commandType, int id)
|
||||
m_listType = 0;
|
||||
m_x = 0;
|
||||
m_y = 0;
|
||||
m_token = 0;
|
||||
m_annotationLinesAdded = 0;
|
||||
m_updated = 0;
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
m_dragFlags = wxDrag_CopyOnly;
|
||||
m_dragResult = wxDragNone;
|
||||
@@ -4968,6 +4972,10 @@ wxStyledTextEvent::wxStyledTextEvent(const wxStyledTextEvent& event):
|
||||
m_x = event.m_x;
|
||||
m_y = event.m_y;
|
||||
|
||||
m_token = event.m_token;
|
||||
m_annotationLinesAdded = event.m_annotationLinesAdded;
|
||||
m_updated = event.m_updated;
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
m_dragText = event.m_dragText;
|
||||
m_dragFlags = event.m_dragFlags;
|
||||
@@ -4980,7 +4988,7 @@ wxStyledTextEvent::wxStyledTextEvent(const wxStyledTextEvent& event):
|
||||
|
||||
/*static*/ wxVersionInfo wxStyledTextCtrl::GetLibraryVersionInfo()
|
||||
{
|
||||
return wxVersionInfo("Scintilla", 2, 3, 0, "Scintilla 2.03");
|
||||
return wxVersionInfo("Scintilla", 3, 21, 0, "Scintilla 3.21");
|
||||
}
|
||||
|
||||
#endif // wxUSE_STC
|
||||
|
@@ -1071,6 +1071,10 @@ wxStyledTextEvent::wxStyledTextEvent(wxEventType commandType, int id)
|
||||
m_listType = 0;
|
||||
m_x = 0;
|
||||
m_y = 0;
|
||||
m_token = 0;
|
||||
m_annotationLinesAdded = 0;
|
||||
m_updated = 0;
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
m_dragFlags = wxDrag_CopyOnly;
|
||||
m_dragResult = wxDragNone;
|
||||
@@ -1106,6 +1110,10 @@ wxStyledTextEvent::wxStyledTextEvent(const wxStyledTextEvent& event):
|
||||
m_x = event.m_x;
|
||||
m_y = event.m_y;
|
||||
|
||||
m_token = event.m_token;
|
||||
m_annotationLinesAdded = event.m_annotationLinesAdded;
|
||||
m_updated = event.m_updated;
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
m_dragText = event.m_dragText;
|
||||
m_dragFlags = event.m_dragFlags;
|
||||
@@ -1118,7 +1126,7 @@ wxStyledTextEvent::wxStyledTextEvent(const wxStyledTextEvent& event):
|
||||
|
||||
/*static*/ wxVersionInfo wxStyledTextCtrl::GetLibraryVersionInfo()
|
||||
{
|
||||
return wxVersionInfo("Scintilla", 2, 3, 0, "Scintilla 2.03");
|
||||
return wxVersionInfo("Scintilla", 3, 21, 0, "Scintilla 3.21");
|
||||
}
|
||||
|
||||
#endif // wxUSE_STC
|
||||
|
@@ -600,8 +600,8 @@ private:
|
||||
int m_x;
|
||||
int m_y;
|
||||
|
||||
int m_token; /* wxEVT_STC__MODIFIED with SC_MOD_CONTAINER */
|
||||
int m_annotationLinesAdded; /* wxEVT_STC_MODIFIED with SC_MOD_CHANGEANNOTATION */
|
||||
int m_token; // wxEVT_STC__MODIFIED with SC_MOD_CONTAINER
|
||||
int m_annotationLinesAdded; // wxEVT_STC_MODIFIED with SC_MOD_CHANGEANNOTATION
|
||||
int m_updated; // wxEVT_STC_UPDATEUI
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user