X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..77c1fa98ce364fb1c2b31a82bdd04f3a0ab75424:/include/wx/effects.h?ds=sidebyside diff --git a/include/wx/effects.h b/include/wx/effects.h index a051c857fe..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 @@ -7,13 +7,9 @@ // Created: 25/4/2000 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "effects.h" -#endif - #ifndef _WX_EFFECTS_H_ #define _WX_EFFECTS_H_ @@ -21,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) @@ -61,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 @@ -72,4 +73,3 @@ protected: }; #endif -