X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6298b8d0b20bd2beafcff397d75cc67f18bd850e..be7a101366995b7b7bb76e3d5b1e7dd8fc9a1af8:/include/wx/x11/bitmap.h diff --git a/include/wx/x11/bitmap.h b/include/wx/x11/bitmap.h index c9d96ad944..9438522880 100644 --- a/include/wx/x11/bitmap.h +++ b/include/wx/x11/bitmap.h @@ -12,7 +12,7 @@ #ifndef _WX_BITMAP_H_ #define _WX_BITMAP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "bitmap.h" #endif @@ -96,6 +96,8 @@ public: bool Create(int width, int height, int depth = -1); bool Create(void* data, wxBitmapType type, int width, int height, int depth = -1); + // create the wxBitmap using a _copy_ of the pixmap + bool Create(WXPixmap pixmap); int GetHeight() const; int GetWidth() const;