]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/artprov.cpp
fixed typo in wxString::swap() which was completely broken
[wxWidgets.git] / src / common / artprov.cpp
index 8da185b4e80eedce0246895db67167c6180c0949..64b87d781ee45ee1f587a34bc7b45e32828d5208 100644 (file)
@@ -119,6 +119,7 @@ wxArtProviderCache *wxArtProvider::sm_cache = NULL;
     }
 
     sm_providers->Insert(provider);
+    sm_cache->Clear();
 }
 
 /*static*/ bool wxArtProvider::PopProvider()