]> git.saurik.com Git - wxWidgets.git/commitdiff
remove the VisualAge 3.0 hack
authorDavid Webster <Dave.Webster@bhmi.com>
Fri, 10 Mar 2000 23:12:50 +0000 (23:12 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Fri, 10 Mar 2000 23:12:50 +0000 (23:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/object.cpp

index 30f1f605cfe0d5b1e102f9146a6f8c79f038166f..ab59919f01fe8e3d3cd44e9eaedce9eda43afeeb 100644 (file)
@@ -375,18 +375,8 @@ void wxObject::UnRef()
         wxASSERT_MSG( m_refData->m_count > 0, _T("invalid ref data count") );
 
         if ( !--m_refData->m_count )
-#if defined(__VISAGECPP__) && IBMCPP < 400
-            //
-            // don't know what is going on with VA 3.0 but its got some memory problems here
-            // this delete causes a trap in CPPOOM3.DLL
-            //
-            {
-            }
-#else
             delete m_refData;
-
         m_refData = (wxObjectRefData *) NULL;
-#endif
     }
 }