+void wxImage::InitAllHandlers()
+{
+#if wxUSE_LIBPNG
+ AddHandler( new wxPNGHandler );
+#endif
+#if wxUSE_LIBJPEG
+ AddHandler( new wxJPEGHandler );
+#endif
+#if wxUSE_GIF
+ AddHandler( new wxGIFHandler );
+#endif
+#if wxUSE_PNM
+ AddHandler( new wxPNMHandler );
+#endif
+#if wxUSE_PCX
+ AddHandler( new wxPCXHandler );
+#endif
+}
+