X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..be39d6f592046dd58ada619326ab81b43f53d0ef:/include/wx/effects.h diff --git a/include/wx/effects.h b/include/wx/effects.h index 55f988ff53..eaf1f482ec 100644 --- a/include/wx/effects.h +++ b/include/wx/effects.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: effects.h +// Name: wx/effects.h // Purpose: wxEffects class // Draws 3D effects. // Author: Julian Smart et al @@ -17,6 +17,11 @@ * wxEffects: various 3D effects */ +#include "wx/object.h" +#include "wx/colour.h" +#include "wx/gdicmn.h" +#include "wx/dc.h" + class WXDLLEXPORT wxEffects: public wxObject { DECLARE_CLASS(wxEffects) @@ -57,7 +62,7 @@ public: void DrawSunkenEdge(wxDC& dc, const wxRect& rect, int borderSize = 1); // Tile a bitmap - bool TileBitmap(const wxRect& rect, wxDC& dc, wxBitmap& bitmap); + bool TileBitmap(const wxRect& rect, wxDC& dc, const wxBitmap& bitmap); protected: wxColour m_highlightColour; // Usually white @@ -68,4 +73,3 @@ protected: }; #endif -