X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6636ef8ddf9eda0d0352c29d98cb141676a51a2d..94e0018723919fe2ca2f5b5f0a42804c16dbf3a1:/src/common/xtixml.cpp?ds=sidebyside diff --git a/src/common/xtixml.cpp b/src/common/xtixml.cpp index 2db3aac9b2..33fb30d341 100644 --- a/src/common/xtixml.cpp +++ b/src/common/xtixml.cpp @@ -483,7 +483,7 @@ int wxObjectXmlReader::ReadComponent(wxXmlNode *node, wxObjectReaderCallback *ca wxClassInfo* sinkClassInfo = GetObjectClassInfo( sinkOid ); callbacks->SetConnect( objectID, classInfo, pi, sinkClassInfo, - sinkClassInfo->FindHandlerInfo(handlerName), sinkOid ); + sinkClassInfo->FindHandlerInfo(handlerName.c_str()), sinkOid ); } else {