diff --git a/templates/cpp-template-default/proj.wp8-xaml/AppComponent/src/Direct3DInterop.cpp b/templates/cpp-template-default/proj.wp8-xaml/AppComponent/src/Direct3DInterop.cpp index 421b71db67..daf87f8f2d 100644 --- a/templates/cpp-template-default/proj.wp8-xaml/AppComponent/src/Direct3DInterop.cpp +++ b/templates/cpp-template-default/proj.wp8-xaml/AppComponent/src/Direct3DInterop.cpp @@ -188,10 +188,10 @@ void Direct3DInterop::SetCocos2dOpenURLDelegate(Cocos2dOpenURLDelegate ^ delegat bool Direct3DInterop::SendCocos2dEvent(Cocos2dEvent event) { - std::string str; + Platform::String^ str; if(m_delegate) { - m_delegate->Invoke(event, stringToPlatformString(str)); + m_delegate->Invoke(event, str); return true; } return false;