X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..e4277538a535d6d6c049f0b0ead9ed2b07cd93f2:/include/wx/cocoa/bitmap.h?ds=sidebyside diff --git a/include/wx/cocoa/bitmap.h b/include/wx/cocoa/bitmap.h index 47dc498d96..d823a048f4 100644 --- a/include/wx/cocoa/bitmap.h +++ b/include/wx/cocoa/bitmap.h @@ -68,10 +68,6 @@ class WXDLLEXPORT wxBitmap: public wxGDIObject public: // Platform-specific default constructor wxBitmap(); - // Copy constructors - wxBitmap(const wxBitmap& bitmap) - : wxGDIObject() - { Ref(bitmap); } // Initialize with raw data. wxBitmap(const char bits[], int width, int height, int depth = 1); // Initialize with XPM data @@ -128,6 +124,7 @@ public: // raw bitmap access support functions void *GetRawData(wxPixelDataBase& data, int bpp); void UngetRawData(wxPixelDataBase& data); + void UseAlpha(); wxPalette* GetPalette() const; void SetPalette(const wxPalette& palette); @@ -137,8 +134,6 @@ public: int GetBitmapType() const; - inline wxBitmap& operator = (const wxBitmap& bitmap) - { if (*this == bitmap) return (*this); Ref(bitmap); return *this; } inline bool operator == (const wxBitmap& bitmap) const { return m_refData == bitmap.m_refData; } inline bool operator != (const wxBitmap& bitmap) const