Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxNOT_FOUND/wxDefaultCoord, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -233,7 +233,7 @@ int wxXmlReader::ReadComponent(wxXmlNode *node, wxDepersister *callbacks)
|
||||
else
|
||||
{
|
||||
wxLogError( _("Forward hrefs are not supported") ) ;
|
||||
return wxInvalidObjectID ;
|
||||
return wxInvalidObjectID ;
|
||||
}
|
||||
}
|
||||
if ( !node->GetPropVal(wxT("id") , &ObjectIdString ) )
|
||||
@@ -255,7 +255,7 @@ int wxXmlReader::ReadComponent(wxXmlNode *node, wxDepersister *callbacks)
|
||||
|
||||
if ( children != NULL && children->GetType() == wxXML_TEXT_NODE )
|
||||
{
|
||||
wxLogError(_("objects cannot have XML Text Nodes") ) ;
|
||||
wxLogError(_("objects cannot have XML Text Nodes") ) ;
|
||||
return wxInvalidObjectID;
|
||||
}
|
||||
if (!node->GetPropVal(wxT("id"), &ObjectIdString))
|
||||
@@ -268,7 +268,7 @@ int wxXmlReader::ReadComponent(wxXmlNode *node, wxDepersister *callbacks)
|
||||
// is this object already has been streamed in, return it here
|
||||
if ( HasObjectClassInfo( objectID ) )
|
||||
{
|
||||
wxLogError ( wxString::Format(_("Doubly used id : %d"), objectID ) ) ;
|
||||
wxLogError ( wxString::Format(_("Doubly used id : %d"), objectID ) ) ;
|
||||
return wxInvalidObjectID ;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user