]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/object.cpp
Improved selection mode handling in wxGrid::SelectBlock
[wxWidgets.git] / 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
     }
 }