X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bd3a2da9573f270564cd035e0cfbf6902cf8750..78316bbe3589b0d9bad4de1706d3e8a3215b0867:/src/msw/dde.cpp diff --git a/src/msw/dde.cpp b/src/msw/dde.cpp index 0d084650d7..6968b94312 100644 --- a/src/msw/dde.cpp +++ b/src/msw/dde.cpp @@ -37,6 +37,8 @@ #include "wx/module.h" #include "wx/dde.h" +#include "wx/intl.h" + #include "wx/msw/private.h" @@ -898,7 +900,7 @@ static HSZ DDEAtomFromString(const wxString& s) { wxASSERT_MSG( DDEIdInst, _T("DDE not initialized") ); - HSZ hsz = DdeCreateStringHandle(DDEIdInst, s, DDE_CP); + HSZ hsz = DdeCreateStringHandle(DDEIdInst, (char*) s.c_str(), DDE_CP); if ( !hsz ) { DDELogError(_("Failed to create DDE string"));