X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf7b3e2b9d68e571372e243f0f22615dbfac62fd..90b959aee428b26304ee0056864af48775051496:/src/mac/carbon/bitmap.cpp diff --git a/src/mac/carbon/bitmap.cpp b/src/mac/carbon/bitmap.cpp index 1a59104b9e..fd0f461f17 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -26,6 +26,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__ @@ -241,6 +243,12 @@ wxBitmapRefData::~wxBitmapRefData() wxList wxBitmap::sm_handlers; + +bool wxBitmap::CopyFromIcon(const wxIcon& icon) +{ + Ref(icon) ; +} + wxBitmap::wxBitmap() { m_refData = NULL;