X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a8562f5520233a37151f453f91a82cb9c4636510..196cc38b26fb577274d307ba664dbc5a3196f301:/src/mac/bitmap.cpp?ds=inline diff --git a/src/mac/bitmap.cpp b/src/mac/bitmap.cpp index 1a59104b9e..409d2fb3a8 100644 --- a/src/mac/bitmap.cpp +++ b/src/mac/bitmap.cpp @@ -10,13 +10,12 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ +#pragma implementation "bitmapbase.h" #pragma implementation "bitmap.h" #endif -#include "wx/wx.h" -#include "wx/setup.h" -#include "wx/utils.h" -#include "wx/palette.h" +#include "wx/defs.h" + #include "wx/bitmap.h" #include "wx/icon.h" #include "wx/log.h" @@ -26,6 +25,8 @@ #if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxBitmap, wxGDIObject) IMPLEMENT_DYNAMIC_CLASS(wxMask, wxObject) +IMPLEMENT_ABSTRACT_CLASS(wxBitmapBase , wxGDIObject ) +IMPLEMENT_ABSTRACT_CLASS(wxBitmapHandlerBase, wxObject ) #endif #ifdef __UNIX__ @@ -239,7 +240,13 @@ wxBitmapRefData::~wxBitmapRefData() } } -wxList wxBitmap::sm_handlers; +wxList wxBitmapBase::sm_handlers; + + +bool wxBitmap::CopyFromIcon(const wxIcon& icon) +{ + Ref(icon) ; +} wxBitmap::wxBitmap() {