// 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"
}
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 ) ;
+ }
}
}
}
const wxEnumTypeInfo *eti = dynamic_cast<const wxEnumTypeInfo*>( pi->GetTypeInfo() ) ;
if ( eti )
{
- eti->ConvertFromLong( value.Get<long>() , value ) ;
+ eti->ConvertFromLong( value.wxTEMPLATED_MEMBER_CALL(Get , long) , value ) ;
}
else
{
if ( value.GetAsString() == pi->GetDefaultValue().GetAsString() )
return ;
}
-
+
// avoid streaming out null objects
const wxClassTypeInfo* cti = dynamic_cast< const wxClassTypeInfo* > ( pi->GetTypeInfo() ) ;
handlerInfo->GetEventFunction() , NULL /*user data*/ ,
ehsink ) ;
}
- }
+ }
}
}