From 16d0c403faf0b6f64e4798479abfddf8a8090d79 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 22 Aug 2003 10:52:01 +0000 Subject: [PATCH] Removed erroneous return statements git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/xti.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/xti.h b/include/wx/xti.h index 8020d7b014..3f4c3314a5 100644 --- a/include/wx/xti.h +++ b/include/wx/xti.h @@ -608,7 +608,7 @@ public : // Getting a simple property (non-collection) virtual void GetProperty(const wxObject *object, wxxVariant &result) const - { wxASSERT_MSG(m_getter,wxT("GetProperty called w/o valid getter") ) ; return m_getter->Get( object , result ) ;} + { wxASSERT_MSG(m_getter,wxT("GetProperty called w/o valid getter") ) ; m_getter->Get( object , result ) ;} // Adding an element to a collection property virtual void AddToPropertyCollection(wxObject *object, const wxxVariant &value) const @@ -616,7 +616,7 @@ public : // Getting a collection property virtual void GetPropertyCollection( const wxObject *obj, wxxVariantArray &result) const - { wxASSERT_MSG(m_collectionGetter,wxT("GetPropertyCollection called w/o valid collection getter") ) ; return m_collectionGetter->Get( obj , result) ;} + { wxASSERT_MSG(m_collectionGetter,wxT("GetPropertyCollection called w/o valid collection getter") ) ; m_collectionGetter->Get( obj , result) ;} virtual bool HasSetter() const { return m_setter != NULL ; } virtual bool HasCollectionGetter() const { return m_collectionGetter != NULL ; } -- 2.45.2