X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/269a5a34a6eb0f1eab66c5e09c667b66f0ac90a3..9fbd8b8d614746f8d1567f0ec525c29b88da8690:/src/msw/ole/dropsrc.cpp 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(),