#endif // WX_PRECOMP
#include "wx/os2/private.h"
-
#include "wx/app.h"
-
+#include "wx/xpmhand.h"
#include "wx/os2/gdiimage.h"
// ----------------------------------------------------------------------------
wxNode* pNext = pNode->Next();
delete pHandler;
+#if (!(defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )))
delete pNode;
+#endif
pNode = pNext;
}
}
AddHandler(new wxBMPResourceHandler);
AddHandler(new wxBMPFileHandler);
- // Not added by default: include xpmhand.h in your app
- // and call these in your wxApp::OnInit.
- // AddHandler(new wxXPMFileHandler);
- // AddHandler(new wxXPMDataHandler);
+ AddHandler(new wxXPMFileHandler);
+ AddHandler(new wxXPMDataHandler);
AddHandler(new wxICOResourceHandler);
AddHandler(new wxICOFileHandler);