X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/87f83ac8676d83b1bc75cbb0a6b4cf612f86bc2b..97c7099a70fd3af6ac7bef7f420581c8801ba22d:/src/common/bmpbase.cpp diff --git a/src/common/bmpbase.cpp b/src/common/bmpbase.cpp index 9d9d41ae9f..4a5ca4d898 100644 --- a/src/common/bmpbase.cpp +++ b/src/common/bmpbase.cpp @@ -15,23 +15,37 @@ #pragma hdrstop #endif +#include "wx/bitmap.h" + +#ifndef WX_PRECOMP + #include "wx/colour.h" + #include "wx/icon.h" +#endif // WX_PRECOMP + +// ---------------------------------------------------------------------------- +// wxVariant support +// ---------------------------------------------------------------------------- + +#if wxUSE_VARIANT +IMPLEMENT_VARIANT_OBJECT_EXPORTED(wxBitmap,WXDLLEXPORT) +IMPLEMENT_VARIANT_OBJECT_EXPORTED(wxIcon,WXDLLEXPORT) +#endif + // ---------------------------------------------------------------------------- // wxBitmapBase // ---------------------------------------------------------------------------- #if wxUSE_BITMAP_BASE -#include "wx/bitmap.h" - #ifndef WX_PRECOMP #include "wx/log.h" #include "wx/utils.h" #include "wx/palette.h" - #include "wx/icon.h" #include "wx/image.h" #include "wx/module.h" #endif // WX_PRECOMP + IMPLEMENT_ABSTRACT_CLASS(wxBitmapBase, wxGDIObject) IMPLEMENT_ABSTRACT_CLASS(wxBitmapHandlerBase,wxObject) @@ -159,4 +173,3 @@ bool wxMaskBase::Create(const wxBitmap& bitmap) return InitFromMonoBitmap(bitmap); } -