/////////////////////////////////////////////////////////////////////////////
#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"
#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__
+#ifdef __DARWIN__
#include <ApplicationServices/ApplicationServices.h>
#else
#include <PictUtils.h>
}
}
-wxList wxBitmap::sm_handlers;
+wxList wxBitmapBase::sm_handlers;
+
+
+bool wxBitmap::CopyFromIcon(const wxIcon& icon)
+{
+ Ref(icon) ;
+}
wxBitmap::wxBitmap()
{
if( mask )
{
-#ifdef __UNIX__
+#ifdef __DARWIN__
RGBColor trans = white;
#else
RGBBackColor( &gray );