From f6d5397840a7cfe694c6c82b8f560e7b27978d25 Mon Sep 17 00:00:00 2001 From: Denis Pershin Date: Sun, 9 Aug 1998 19:42:11 +0000 Subject: [PATCH] DP: Robert's mistake with incorrect var name corrected. It even does not compile. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dnd.cpp | 2 +- src/gtk1/dnd.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/dnd.cpp b/src/gtk/dnd.cpp index 2498e7c423..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; diff --git a/src/gtk1/dnd.cpp b/src/gtk1/dnd.cpp index 2498e7c423..72b29d4bf5 100644 --- a/src/gtk1/dnd.cpp +++ b/src/gtk1/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; -- 2.45.2