adding intl.h and wxString -> char* conversion in DDEAtomFromString

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bart A.M. Jourquin
2000-01-19 09:55:14 +00:00
parent 8e425133fb
commit 56880523be

View File

@@ -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"));