]> git.saurik.com Git - wxWidgets.git/blob - src/common/arcall.cpp
Applied #15375 to stop event-sending in generic wxSpinCtrl ctor (eco)
[wxWidgets.git] / src / common / arcall.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/arcall.cpp
3 // Purpose: wxArchive link all archive streams
4 // Author: Mike Wetherell
5 // Copyright: (c) 2006 Mike Wetherell
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 // For compilers that support precompilation, includes "wx.h".
10 #include "wx/wxprec.h"
11
12 #ifdef __BORLANDC__
13 #pragma hdrstop
14 #endif
15
16 #if wxUSE_ARCHIVE_STREAMS
17
18 #if wxUSE_ZIPSTREAM
19 #include "wx/zipstrm.h"
20 #endif
21 #if wxUSE_TARSTREAM
22 #include "wx/tarstrm.h"
23 #endif
24
25 // Reference archive classes to ensure they are linked into a statically
26 // linked program that uses Find or GetFirst to look for an archive handler.
27 // It is in its own file so that the user can override this behaviour by
28 // providing their own implementation.
29
30 void wxUseArchiveClasses()
31 {
32 #if wxUSE_ZIPSTREAM
33 wxZipClassFactory();
34 #endif
35 #if wxUSE_TARSTREAM
36 wxTarClassFactory();
37 #endif
38 }
39
40 #endif // wxUSE_ARCHIVE_STREAMS