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
This commit is contained in:
@@ -36,9 +36,6 @@
|
|||||||
#include "wx/image.h"
|
#include "wx/image.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For the purposes of forcing this module to link
|
|
||||||
extern char g_ArtProviderModule;
|
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// implementation
|
// implementation
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
@@ -86,9 +83,6 @@ bool wxArtProviderCache::GetBitmap(const wxString& full_id, wxBitmap* bmp)
|
|||||||
|
|
||||||
void wxArtProviderCache::Clear()
|
void wxArtProviderCache::Clear()
|
||||||
{
|
{
|
||||||
// Hack to make the default provider link
|
|
||||||
// with the application
|
|
||||||
g_ArtProviderModule = 0;
|
|
||||||
m_bitmapsHash.clear();
|
m_bitmapsHash.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user