X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f8e1c164d9705b52d0d60531d489c31430dc784..b4fe51258d17c1e63c55b2b83c8db83e44b15927:/src/msw/ole/dropsrc.cpp diff --git a/src/msw/ole/dropsrc.cpp b/src/msw/ole/dropsrc.cpp index 4a38d8125f..6e6e2886d5 100644 --- a/src/msw/ole/dropsrc.cpp +++ b/src/msw/ole/dropsrc.cpp @@ -27,6 +27,9 @@ #if defined(__BORLANDC__) #pragma hdrstop #endif +#ifndef WX_PRECOMP +#include "wx/window.h" +#endif #include "wx/setup.h" @@ -37,6 +40,9 @@ #include "wx/msw/ole/dropsrc.h" #include +#ifdef wxUSE_NORLANDER_HEADERS +#include +#endif #ifndef __WIN32__ #include @@ -183,7 +189,7 @@ wxDropSource::~wxDropSource() // 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(), @@ -215,10 +221,10 @@ wxDragResult wxDropSource::DoDragDrop(bool bAllowMove) 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;