From: Václav Slavík Date: Sun, 22 Aug 2004 17:19:30 +0000 (+0000) Subject: linking in artstd.obj doesn't have to be forced, it happens thanks to InitStdProvider... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/54a3846e19db3a728e0ed9d53316e32be76b6a56?ds=inline linking in artstd.obj doesn't have to be forced, it happens thanks to InitStdProvider reference git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/artprov.cpp b/src/common/artprov.cpp index a14428f89e..bfa75a5c78 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(); }