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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user