/* static */ void wxArtProvider::InsertProvider(wxArtProvider *provider)
{
- Insert(provider);
+ PushBack(provider);
}
/* static */ bool wxArtProvider::PopProvider()
public:
bool OnInit()
{
-#if wxUSE_ARTPROVIDER_STD
- wxArtProvider::InitStdProvider();
-#endif // wxUSE_ARTPROVIDER_STD
+ // The order here is such that the native provider will be used first
+ // and the standard one last as all these default providers add
+ // themselves to the bottom of the stack.
+ wxArtProvider::InitNativeProvider();
#if wxUSE_ARTPROVIDER_TANGO
wxArtProvider::InitTangoProvider();
#endif // wxUSE_ARTPROVIDER_TANGO
- wxArtProvider::InitNativeProvider();
+#if wxUSE_ARTPROVIDER_STD
+ wxArtProvider::InitStdProvider();
+#endif // wxUSE_ARTPROVIDER_STD
return true;
}
void OnExit()