]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/ScintillaWX.cpp
Restore text drag-and-drop in wxSTC broken by Scintilla 2 update.
[wxWidgets.git] / src / stc / ScintillaWX.cpp
index b8a53528444f5096a1bfd9618b0a33e0f02b525d..8ede8b4cf8348d385ef3fbd5fe5b3862d2c5cee0 100644 (file)
@@ -283,7 +283,7 @@ void ScintillaWX::StartDrag() {
     wxStyledTextEvent evt(wxEVT_STC_START_DRAG, stc->GetId());
     evt.SetEventObject(stc);
     evt.SetDragText(dragText);
-    evt.SetDragAllowMove(true);
+    evt.SetDragAllowMove(wxDrag_DefaultMove);
     evt.SetPosition(wxMin(stc->GetSelectionStart(),
                           stc->GetSelectionEnd()));
     stc->GetEventHandler()->ProcessEvent(evt);