that they own their parent if they are created with a pointer to the parent. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
37 lines
953 B
C++
37 lines
953 B
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: src/common/filtall.cpp
|
|
// Purpose: Link all filter streams
|
|
// Author: Mike Wetherell
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) 2006 Mike Wetherell
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// For compilers that support precompilation, includes "wx.h".
|
|
#include "wx/wxprec.h"
|
|
|
|
#ifdef __BORLANDC__
|
|
#pragma hdrstop
|
|
#endif
|
|
|
|
#if wxUSE_STREAMS
|
|
|
|
#if wxUSE_ZLIB
|
|
#include "wx/zstream.h"
|
|
#endif
|
|
|
|
// Reference filter classes to ensure they are linked into a statically
|
|
// linked program that uses Find or GetFirst to look for an filter handler.
|
|
// It is in its own file so that the user can override this behaviour by
|
|
// providing their own implementation.
|
|
|
|
void wxUseFilterClasses()
|
|
{
|
|
#if wxUSE_ZLIB
|
|
wxZlibClassFactory();
|
|
wxGzipClassFactory();
|
|
#endif
|
|
}
|
|
|
|
#endif // wxUSE_STREAMS
|