X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..447fd332c8c554c05fa0bb889a5374a550b33391:/src/common/artprov.cpp diff --git a/src/common/artprov.cpp b/src/common/artprov.cpp index a14428f89e..9c3fda0143 100644 --- a/src/common/artprov.cpp +++ b/src/common/artprov.cpp @@ -36,9 +36,6 @@ #include "wx/image.h" #endif -// For the purposes of forcing this module to link -extern char g_ArtProviderModule; - // =========================================================================== // implementation // =========================================================================== @@ -86,9 +83,6 @@ bool wxArtProviderCache::GetBitmap(const wxString& full_id, wxBitmap* bmp) void wxArtProviderCache::Clear() { - // Hack to make the default provider link - // with the application - g_ArtProviderModule = 0; m_bitmapsHash.clear(); } @@ -216,6 +210,7 @@ public: bool OnInit() { wxArtProvider::InitStdProvider(); + wxArtProvider::InitNativeProvider(); return TRUE; } void OnExit()