X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e9d3bf799068e77936c60f23317792ed7eeb454..3eabbbcc5d6a3dc2395a48eeed3da4bc894f644b:/src/msw/dde.cpp diff --git a/src/msw/dde.cpp b/src/msw/dde.cpp index bb85ac799a..ce2f37211b 100644 --- a/src/msw/dde.cpp +++ b/src/msw/dde.cpp @@ -1068,7 +1068,7 @@ static HSZ DDEAtomFromString(const wxString& s) { wxASSERT_MSG( DDEIdInst, wxT("DDE not initialized") ); - HSZ hsz = DdeCreateStringHandle(DDEIdInst, (wxChar*)s.wx_str(), DDE_CP); + HSZ hsz = DdeCreateStringHandle(DDEIdInst, wxMSW_CONV_LPTSTR(s), DDE_CP); if ( !hsz ) { DDELogError(_("Failed to create DDE string"));