X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e3f3880bc2b13b0ff90a60f676959989da732dd..5769cf0f89fa4d076042e9f8dd24a32501280f8c:/src/common/xtistrm.cpp diff --git a/src/common/xtistrm.cpp b/src/common/xtistrm.cpp index fee284e6cb..20d21f6f5b 100644 --- a/src/common/xtistrm.cpp +++ b/src/common/xtistrm.cpp @@ -18,16 +18,16 @@ #if wxUSE_EXTENDED_RTTI +#include "wx/xtistrm.h" + #ifndef WX_PRECOMP #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" - -#include "wx/xtistrm.h" #include "wx/beforestd.h" #include @@ -389,7 +389,7 @@ bool wxReader::HasObjectClassInfo( int objectID ) 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() ; }