]> git.saurik.com Git - wxWidgets.git/blob - src/common/filtall.cpp
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / src / common / filtall.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/filtall.cpp
3 // Purpose: Link all filter 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_STREAMS
17
18 #if wxUSE_ZLIB
19 #include "wx/zstream.h"
20 #endif
21
22 // Reference filter classes to ensure they are linked into a statically
23 // linked program that uses Find or GetFirst to look for an filter handler.
24 // It is in its own file so that the user can override this behaviour by
25 // providing their own implementation.
26
27 void wxUseFilterClasses()
28 {
29 #if wxUSE_ZLIB
30 wxZlibClassFactory();
31 wxGzipClassFactory();
32 #endif
33 }
34
35 #endif // wxUSE_STREAMS