git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5521
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/module.h"
#include "wx/dde.h"
#include "wx/module.h"
#include "wx/dde.h"
#include "wx/msw/private.h"
#include "wx/msw/private.h"
{
wxASSERT_MSG( DDEIdInst, _T("DDE not initialized") );
{
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"));
if ( !hsz )
{
DDELogError(_("Failed to create DDE string"));