X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7716a165ef3d5f3075b4aa771decc0001e68f6b4..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/common/artprov.cpp diff --git a/src/common/artprov.cpp b/src/common/artprov.cpp index c51c08780c..908af16369 100644 --- a/src/common/artprov.cpp +++ b/src/common/artprov.cpp @@ -440,13 +440,16 @@ class wxArtProviderModule: public wxModule 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()