X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bd3a2da9573f270564cd035e0cfbf6902cf8750..7ddef9ed7a3f6181086eed376261649f4b3655db:/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"));