X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..c7e94140cd436c6c234a382ad4e16ec5da65830c:/src/gtk1/dnd.cpp?ds=sidebyside diff --git a/src/gtk1/dnd.cpp b/src/gtk1/dnd.cpp index 5f3b30f9fa..d21b31386a 100644 --- a/src/gtk1/dnd.cpp +++ b/src/gtk1/dnd.cpp @@ -848,7 +848,7 @@ wxDragResult wxDropSource::DoDragDrop(int flags) // don't start dragging if no button is down if (g_lastButtonNumber == 0) return wxDragNone; - + // we can only start a drag after a mouse event if (g_lastMouseEvent == NULL) return wxDragNone;