X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..88ef3a57a47f840adea9d38bc11cb30689a0838a:/contrib/include/wx/ogl/bmpshape.h diff --git a/contrib/include/wx/ogl/bmpshape.h b/contrib/include/wx/ogl/bmpshape.h index 5389351fe4..f16992e2cd 100644 --- a/contrib/include/wx/ogl/bmpshape.h +++ b/contrib/include/wx/ogl/bmpshape.h @@ -6,19 +6,14 @@ // Created: 12/07/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _OGL_BITMAP_H_ #define _OGL_BITMAP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "bmpshape.h" -#endif - -#include -class wxBitmapShape: public wxRectangleShape +class WXDLLIMPEXP_OGL wxBitmapShape: public wxRectangleShape { DECLARE_DYNAMIC_CLASS(wxBitmapShape) public: @@ -36,7 +31,7 @@ class wxBitmapShape: public wxRectangleShape // Does the copying for this object void Copy(wxShape& copy); - void SetSize(double w, double h, bool recursive = TRUE); + void SetSize(double w, double h, bool recursive = true); inline wxBitmap& GetBitmap() const { return (wxBitmap&) m_bitmap; } void SetBitmap(const wxBitmap& bm); inline void SetFilename(const wxString& f) { m_filename = f; };