]>
git.saurik.com Git - wxWidgets.git/blob - src/common/imagall.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxImage access all handler
4 // Author: Sylvain Bougnoux
6 // Copyright: (c) Sylvain Bougnoux
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 We don't put pragma implement in this file because it is already present in
15 // For compilers that support precompilation, includes "wx.h".
16 #include "wx/wxprec.h"
23 # include "wx/setup.h"
28 //-----------------------------------------------------------------------------
29 // This function allows dynamic access to all image handlers compile within
30 // the library. This function should be in a separate file as some compilers
31 // link against the whole object file as long as just one of is function is called!
33 void wxInitAllImageHandlers()
36 wxImage::AddHandler( new wxPNGHandler
);
39 wxImage::AddHandler( new wxJPEGHandler
);
42 wxImage::AddHandler( new wxTIFFHandler
);
45 wxImage::AddHandler( new wxGIFHandler
);
48 wxImage::AddHandler( new wxPNMHandler
);
51 wxImage::AddHandler( new wxPCXHandler
);