X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55e90a2ea93be4cbb7b0811d4afb6aa7156c809b..1a33ac8fb0f5e43c89bd698618d554c6f7b8b452:/include/wx/gtk1/bitmap.h diff --git a/include/wx/gtk1/bitmap.h b/include/wx/gtk1/bitmap.h index 25b7778b1c..51cc2fed09 100644 --- a/include/wx/gtk1/bitmap.h +++ b/include/wx/gtk1/bitmap.h @@ -11,7 +11,7 @@ #ifndef __GTKBITMAPH__ #define __GTKBITMAPH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -113,6 +113,8 @@ public: GdkPixmap *GetPixmap() const; GdkBitmap *GetBitmap() const; + // Basically, this corresponds to Win32 StretchBlt() + wxBitmap Rescale( int clipx, int clipy, int clipwidth, int clipheight, int width, int height ); protected: bool CreateFromXpm(const char **bits); bool CreateFromImage(const wxImage& image, int depth);