]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/gdiimage.cpp
added bitmaps to menu items
[wxWidgets.git] / src / os2 / gdiimage.cpp
index d4357d63314a4487a1f6e9ade142bbd56b871d64..321e61e1c10a94f8cef144c724ece6939c69f467 100644 (file)
@@ -335,7 +335,9 @@ void wxGDIImage::CleanUpHandlers()
         wxNode*                     pNext    = pNode->Next();
 
         delete pHandler;
+#if (!(defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )))
         delete pNode;
+#endif
         pNode = pNext;
     }
 }