From a539b39f6b88cc4a258d451cb96e074618e583b9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 22 Jun 1998 22:17:15 +0000 Subject: [PATCH] wxCHECK change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/ole/dropsrc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), -- 2.45.2