Patch 559673 and 561053

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-05-27 22:06:55 +00:00
parent 9321420052
commit 92bbd64f7f
10 changed files with 78 additions and 0 deletions

View File

@@ -2134,7 +2134,9 @@ wxStyledTextEvent::wxStyledTextEvent(wxEventType commandType, int id)
m_x = 0;
m_y = 0;
m_dragAllowMove = FALSE;
#if wxUSE_DRAG_AND_DROP
m_dragResult = wxDragNone;
#endif
}
bool wxStyledTextEvent::GetShift() const { return (m_modifiers & SCI_SHIFT) != 0; }
@@ -2168,7 +2170,9 @@ wxStyledTextEvent::wxStyledTextEvent(const wxStyledTextEvent& event):
m_dragText = event.m_dragText;
m_dragAllowMove =event.m_dragAllowMove;
#if wxUSE_DRAG_AND_DROP
m_dragResult = event.m_dragResult;
#endif
}
//----------------------------------------------------------------------