const wxPropertyInfo* pi = classInfo->FindPropertyInfo( paramName );
if ( pi == 0 )
{
- wxLogError( wxString::Format(_("Unkown Property %s"),paramName) );
+ wxLogError( wxString::Format(_("Unknown Property %s"),paramName) );
}
// if we don't have the value of a create param set in the xml
// we use the default value
// properties were written in the xml
for ( size_t j = 0; j < propertyNames.size(); ++j )
{
- if ( propertyNames[j].length() )
+ if ( !propertyNames[j].empty() )
{
PropertyNodes::iterator propiter = propertyNodes.find( propertyNames[j] );
if ( propiter != propertyNodes.end() )
wxClassInfo* sinkClassInfo = GetObjectClassInfo( sinkOid );
callbacks->SetConnect( objectID, classInfo, pi, sinkClassInfo,
- sinkClassInfo->FindHandlerInfo(handlerName), sinkOid );
+ sinkClassInfo->FindHandlerInfo(handlerName.c_str()), sinkOid );
}
else
{