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