First pass at adding MicroWindows support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-06-29 10:58:59 +00:00
parent 7ed4fab7be
commit 04ef50df3a
33 changed files with 985 additions and 65 deletions

View File

@@ -37,7 +37,10 @@
#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"
@@ -50,6 +53,8 @@
// 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)
@@ -180,6 +185,8 @@ private:
// ----------------------------------------------------------------------------
static wxSize GetHiconSize(HICON hicon);
#endif
// __MICROWIN__
// ============================================================================
// implementation
@@ -295,12 +302,16 @@ void wxGDIImage::CleanUpHandlers()
void wxGDIImage::InitStandardHandlers()
{
#ifndef __WXMICROWIN__
AddHandler(new wxBMPResourceHandler);
AddHandler(new wxBMPFileHandler);
AddHandler(new wxICOResourceHandler);
AddHandler(new wxICOFileHandler);
#endif
}
#ifndef __WXMICROWIN__
// ----------------------------------------------------------------------------
// wxBitmap handlers
// ----------------------------------------------------------------------------
@@ -533,3 +544,5 @@ static wxSize GetHiconSize(HICON hicon)
return size;
}
#endif
// __WXMICROWIN__