]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/ScintillaWX.cpp
added wxCHECK_VISUALC_VERSION macro
[wxWidgets.git] / src / stc / ScintillaWX.cpp
index 5f613664d8d17a9842b3392c3553aedd799df6eb..48655b2966fafe43675966140f05df60c0f89fea 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef WX_PRECOMP
     #include "wx/scrolbar.h"
     #include "wx/menu.h"
+    #include "wx/timer.h"
 #endif // WX_PRECOMP
 
 #include "wx/textbuf.h"
@@ -36,6 +37,7 @@
 #include "ScintillaWX.h"
 #include "ExternalLexer.h"
 #include "wx/stc/stc.h"
+#include "wx/stc/private.h"
 #include "PlatWX.h"
 
 #ifdef __WXMSW__
@@ -332,7 +334,7 @@ void ScintillaWX::DoStartDrag() {
         result = source.DoDragDrop(evt.GetDragAllowMove());
         if (result == wxDragMove && dropWentOutside)
             ClearSelection();
-        inDragDrop = false;
+        inDragDrop = ddNone;
         SetDragPosition(invalidPosition);
     }
 #endif // wxUSE_DRAG_AND_DROP