#include "wx/app.h"
+#ifndef __WXMICROWIN__
#include "wx/msw/dib.h"
+#endif
+
#include "wx/msw/bitmap.h"
#include "wx/msw/gdiimage.h"
#include "wx/bitmap.h"
-#if 0 // wxUSE_XPM_IN_MSW
-# include "wx/xpmhand.h"
-#endif // wxUSE_XPM_IN_MSW
-
#ifdef __WIN16__
# include "wx/msw/curico.h"
#endif // __WIN16__
// private classes
// ----------------------------------------------------------------------------
+#ifndef __WXMICROWIN__
+
// all image handlers are declared/defined in this file because the outside
// world doesn't have to know about them (but only about wxBITMAP_TYPE_XXX ids)
// ----------------------------------------------------------------------------
static wxSize GetHiconSize(HICON hicon);
+#endif
+ // __MICROWIN__
// ============================================================================
// implementation
void wxGDIImage::InitStandardHandlers()
{
+#ifndef __WXMICROWIN__
AddHandler(new wxBMPResourceHandler);
AddHandler(new wxBMPFileHandler);
-
- // GRG: Add these handlers by default if XPM support is enabled
-
-#if 0 // wxUSE_XPM_IN_MSW
- AddHandler(new wxXPMFileHandler);
- AddHandler(new wxXPMDataHandler);
-#endif // wxUSE_XPM_IN_MSW
-
AddHandler(new wxICOResourceHandler);
AddHandler(new wxICOFileHandler);
+#endif
}
+#ifndef __WXMICROWIN__
+
// ----------------------------------------------------------------------------
// wxBitmap handlers
// ----------------------------------------------------------------------------
return size;
}
+#endif
+ // __WXMICROWIN__