// Notes : you must call SetData() before if you had used def ctor
wxDragResult wxDropSource::DoDragDrop(bool bAllowMove)
{
- wxCHECK_MSG( m_pData != NULL, wxDragNone, "No data in wxDropSource!" );
+ wxCHECK_MSG( m_pData != NULL, wxDragNone, _T("No data in wxDropSource!") );
DWORD dwEffect;
HRESULT hr = ::DoDragDrop(m_pData->GetInterface(),
else {
if ( FAILED(hr) ) {
wxLogApiError("DoDragDrop", hr);
- wxLogError("Drag & drop operation failed.");
+ wxLogError(_T("Drag & drop operation failed."));
}
else {
- wxLogDebug("Unexpected success return code %08lx from DoDragDrop.", hr);
+ wxLogDebug(_T("Unexpected success return code %08lx from DoDragDrop."), hr);
}
return wxDragError;