make XTI compile with VC6 (patch 896614)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-04-15 22:51:57 +00:00
parent f9ebf98b96
commit af498247c5
34 changed files with 175 additions and 111 deletions

View File

@@ -162,22 +162,24 @@ void wxWriter::WriteAllProperties( const wxObject * obj , const wxClassInfo* ci
}
map.erase( name ) ;
}
for( wxPropertyInfoMap::iterator iter = map.begin() ; iter != map.end() ; ++iter )
{
const wxPropertyInfo* prop = iter->second ;
if ( prop->GetFlags() & wxPROP_OBJECT_GRAPH )
{ // Extra block for broken compilers
for( wxPropertyInfoMap::iterator iter = map.begin() ; iter != map.end() ; ++iter )
{
WriteOneProperty( obj , prop->GetDeclaringClass() , prop , persister , data ) ;
const wxPropertyInfo* prop = iter->second ;
if ( prop->GetFlags() & wxPROP_OBJECT_GRAPH )
{
WriteOneProperty( obj , prop->GetDeclaringClass() , prop , persister , data ) ;
}
}
}
for( wxPropertyInfoMap::iterator iter = map.begin() ; iter != map.end() ; ++iter )
{
const wxPropertyInfo* prop = iter->second ;
if ( !(prop->GetFlags() & wxPROP_OBJECT_GRAPH) )
{ // Extra block for broken compilers
for( wxPropertyInfoMap::iterator iter = map.begin() ; iter != map.end() ; ++iter )
{
WriteOneProperty( obj , prop->GetDeclaringClass() , prop , persister , data ) ;
const wxPropertyInfo* prop = iter->second ;
if ( !(prop->GetFlags() & wxPROP_OBJECT_GRAPH) )
{
WriteOneProperty( obj , prop->GetDeclaringClass() , prop , persister , data ) ;
}
}
}
}