]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/imaglist.cpp
removing unreached code (overriden)
[wxWidgets.git] / src / generic / imaglist.cpp
index 5fa3b027cde37fa4a2814959907d13bb3c9578a8..8aac4fa72e2940d38820025f5cd41bd321ef4b05 100644 (file)
@@ -45,6 +45,7 @@ wxGenericImageList::wxGenericImageList( int width, int height, bool mask, int in
 
 wxGenericImageList::~wxGenericImageList()
 {
+    (void)RemoveAll();
 }
 
 int wxGenericImageList::GetImageCount() const