]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/dropsrc.cpp
wxWindow::OnSize() removed
[wxWidgets.git] / src / msw / ole / dropsrc.cpp
index 024b37defcd56ca50562d9b854eb784be03315c0..5a293e2cc6505720136e4860a1a358553908e4f5 100644 (file)
@@ -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(),