X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5da0ce7cb746318511b3974b7882c72c0de45e2..8cbc59fe84f046685b873cf58f6c56debe59de1c:/src/common/xtistrm.cpp diff --git a/src/common/xtistrm.cpp b/src/common/xtistrm.cpp index e304fd3fc2..e4f3b7d8a4 100644 --- a/src/common/xtistrm.cpp +++ b/src/common/xtistrm.cpp @@ -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() ; } @@ -429,7 +429,7 @@ struct wxRuntimeDepersister::wxRuntimeDepersisterInternal 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 ; } @@ -842,6 +842,6 @@ void wxCodeDepersister::SetConnect(int eventSourceObjectID, #include "wx/arrimpl.cpp" -WX_DEFINE_OBJARRAY(wxxVariantArray); +WX_DEFINE_OBJARRAY(wxxVariantArray) #endif // wxUSE_EXTENDED_RTTI