added wxUSE_IMAGE; added write-only wxXPMHandler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-04-22 22:31:53 +00:00
parent a8d4e3ac60
commit c96ea65713
10 changed files with 244 additions and 7 deletions

View File

@@ -25,6 +25,8 @@
#include "wx/image.h"
#if wxUSE_IMAGE
//-----------------------------------------------------------------------------
// This function allows dynamic access to all image handlers compile within
// the library. This function should be in a separate file as some compilers
@@ -50,4 +52,9 @@ void wxInitAllImageHandlers()
#if wxUSE_PCX
wxImage::AddHandler( new wxPCXHandler );
#endif
#if wxUSE_XPM
wxImage::AddHandler( new wxXPMHandler );
#endif
}
#endif // wxUSE_IMAGE