X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5df4fc722412fe5f6764c490925b26293c5f662..72f8c792205f18e8f171468240b6c04ceca000d2:/include/wx/cocoa/bitmap.h 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