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:
@@ -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 ) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user