added wxFORCE_LINK_MODULE public macro which can now be used outside of wxHTML too; modified it to not provoke icc warnings when used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,15 +21,13 @@
|
||||
#if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
|
||||
|
||||
#include "wx/archive.h"
|
||||
#include "wx/link.h"
|
||||
|
||||
IMPLEMENT_ABSTRACT_CLASS(wxArchiveEntry, wxObject)
|
||||
IMPLEMENT_ABSTRACT_CLASS(wxArchiveClassFactory, wxObject)
|
||||
|
||||
#if wxUSE_ZIPSTREAM
|
||||
//FORCE_LINK(zipstrm)
|
||||
extern int _wx_link_dummy_func_zipstrm();
|
||||
static int _wx_link_dummy_var_zipstrm =
|
||||
_wx_link_dummy_func_zipstrm ();
|
||||
wxFORCE_LINK_MODULE(zipstrm)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user