From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Mon, 22 Jun 1998 22:17:15 +0000 (+0000)
Subject: wxCHECK change
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a539b39f6b88cc4a258d451cb96e074618e583b9

wxCHECK change


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/msw/ole/dropsrc.cpp b/src/msw/ole/dropsrc.cpp
index 024b37defc..5a293e2cc6 100644
--- a/src/msw/ole/dropsrc.cpp
+++ b/src/msw/ole/dropsrc.cpp
@@ -178,7 +178,7 @@ wxDropSource::~wxDropSource()
 // Notes   : you must call SetData() before if you had used def ctor
 wxDropSource::DragResult wxDropSource::DoDragDrop(bool bAllowMove)
 {
-  wxCHECK_RET( m_pData != NULL, None );
+  wxCHECK_MSG( m_pData != NULL, None, "No data in wxDropSource!" );
 
   DWORD dwEffect;
   HRESULT hr = ::DoDragDrop(m_pData->GetInterface(),