while ( !sm_providers->empty() )
delete *sm_providers->begin();
- delete sm_providers;
- sm_providers = NULL;
-
- delete sm_cache;
- sm_cache = NULL;
+ wxDELETE(sm_providers);
+ wxDELETE(sm_cache);
}
}
public:
bool OnInit()
{
+#if wxUSE_ARTPROVIDER_STD
wxArtProvider::InitStdProvider();
+#endif // wxUSE_ARTPROVIDER_STD
+#if wxUSE_ARTPROVIDER_TANGO
+ wxArtProvider::InitTangoProvider();
+#endif // wxUSE_ARTPROVIDER_TANGO
wxArtProvider::InitNativeProvider();
return true;
}