}
sm_providers->Insert(provider);
+ sm_cache->Clear();
}
/*static*/ bool wxArtProvider::PopProvider()
class wxArtProviderModule: public wxModule
{
public:
- bool OnInit() { return TRUE; }
- void OnExit() { wxArtProvider::CleanUpProviders(); }
+ bool OnInit()
+ {
+ wxArtProvider::InitStdProvider();
+ return TRUE;
+ }
+ void OnExit()
+ {
+ wxArtProvider::CleanUpProviders();
+ }
DECLARE_DYNAMIC_CLASS(wxArtProviderModule)
};