]> git.saurik.com Git - wxWidgets.git/commitdiff
clear wxArtProvider cache when pushing new provider
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 6 Apr 2002 15:01:49 +0000 (15:01 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 6 Apr 2002 15:01:49 +0000 (15:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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()