]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dnd.cpp
Since wxREADONLY has disappeared, I had to change to wxTE_READONLY
[wxWidgets.git] / 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;