X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6af8d80dcdd9d7ef9cca3aaaaf8fe4db343d7ae..12e7bc479e855bb0336a8943ab18c0de47f4b39d:/src/gtk/dnd.cpp diff --git a/src/gtk/dnd.cpp b/src/gtk/dnd.cpp index ce49947151..72b29d4bf5 100644 --- a/src/gtk/dnd.cpp +++ b/src/gtk/dnd.cpp @@ -208,7 +208,7 @@ wxDropSource::DragResult wxDropSource::DoDragDrop( bool WXUNUSED(bAllowMove) ) if (gdk_dnd.dnd_grabbed) return None; if (gdk_dnd.drag_really) return None; - wxASSERT_MSG( data, "wxDragSource: no data" ); + wxASSERT_MSG( m_data, "wxDragSource: no data" ); if (!m_data) return None; if (m_data->GetDataSize() == 0) return None; @@ -263,6 +263,8 @@ wxDropSource::DragResult wxDropSource::DoDragDrop( bool WXUNUSED(bAllowMove) ) UnregisterWindow(); + g_blockEventsOnDrag = FALSE; + return m_retValue; };