wxCHECK change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -178,7 +178,7 @@ wxDropSource::~wxDropSource()
|
|||||||
// Notes : you must call SetData() before if you had used def ctor
|
// Notes : you must call SetData() before if you had used def ctor
|
||||||
wxDropSource::DragResult wxDropSource::DoDragDrop(bool bAllowMove)
|
wxDropSource::DragResult wxDropSource::DoDragDrop(bool bAllowMove)
|
||||||
{
|
{
|
||||||
wxCHECK_RET( m_pData != NULL, None );
|
wxCHECK_MSG( m_pData != NULL, None, "No data in wxDropSource!" );
|
||||||
|
|
||||||
DWORD dwEffect;
|
DWORD dwEffect;
|
||||||
HRESULT hr = ::DoDragDrop(m_pData->GetInterface(),
|
HRESULT hr = ::DoDragDrop(m_pData->GetInterface(),
|
||||||
|
Reference in New Issue
Block a user