]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xtixml.cpp
Add various selection menu items to the sample.
[wxWidgets.git] / src / common / xtixml.cpp
index 2db3aac9b2539a76a29e9c8ce198d9b554fa8a41..33fb30d3415bc993315d3b32eb45538d593795ff 100644 (file)
@@ -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
                         {