X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..86948c99a6f0fd177b09b3db0ef702739ec62a27:/src/common/xtixml.cpp diff --git a/src/common/xtixml.cpp b/src/common/xtixml.cpp index 79e77061fc..4fdd673170 100644 --- a/src/common/xtixml.cpp +++ b/src/common/xtixml.cpp @@ -6,13 +6,9 @@ // Created: 27/07/03 // RCS-ID: $Id$ // Copyright: (c) 2003 Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "xtistrm.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -233,7 +229,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 +251,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 +264,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 ; }