]> git.saurik.com Git - wxWidgets.git/commitdiff
DP: Robert's mistake with incorrect var name corrected.
authorDenis Pershin <dyp@inetlab.com>
Sun, 9 Aug 1998 19:42:11 +0000 (19:42 +0000)
committerDenis Pershin <dyp@inetlab.com>
Sun, 9 Aug 1998 19:42:11 +0000 (19:42 +0000)
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
src/gtk1/dnd.cpp

index 2498e7c4238a2fb65e229ba8884d4d524d17c16b..72b29d4bf5a438112edf600d22f0c3018a01415a 100644 (file)
@@ -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;
index 2498e7c4238a2fb65e229ba8884d4d524d17c16b..72b29d4bf5a438112edf600d22f0c3018a01415a 100644 (file)
@@ -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;