// 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"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
+#if wxUSE_EXTENDED_RTTI
+
+#include "wx/xtistrm.h"
+
#ifndef WX_PRECOMP
-#include "wx/hash.h"
-#include "wx/object.h"
+ #include "wx/object.h"
+ #include "wx/hash.h"
+ #include "wx/event.h"
#endif
#include "wx/tokenzr.h"
#include "wx/txtstrm.h"
-#include "wx/event.h"
-
-#if wxUSE_EXTENDED_RTTI
-
-#include "wx/xtistrm.h"
#include "wx/beforestd.h"
#include <map>
if ( value.GetAsString() == pi->GetDefaultValue().GetAsString() )
return ;
}
-
+
// avoid streaming out null objects
const wxClassTypeInfo* cti = dynamic_cast< const wxClassTypeInfo* > ( pi->GetTypeInfo() ) ;
if ( objectID == wxNullObjectID || objectID == wxInvalidObjectID )
{
wxLogError( _("Invalid or Null Object ID passed to HasObjectClassInfo" ) ) ;
- return NULL ;
+ return false ;
}
return m_data->m_classInfos.find(objectID) != m_data->m_classInfos.end() ;
}
return NULL ;
if ( m_objects.find(objectID) == m_objects.end() )
{
- wxLogError( _("Passing an unkown object to GetObject") ) ;
+ wxLogError( _("Passing an unknown object to GetObject") ) ;
return NULL ;
}
handlerInfo->GetEventFunction() , NULL /*user data*/ ,
ehsink ) ;
}
- }
+ }
}
}
}
}
-#include <wx/arrimpl.cpp>
+#include "wx/arrimpl.cpp"
WX_DEFINE_OBJARRAY(wxxVariantArray);
-#endif
+#endif // wxUSE_EXTENDED_RTTI