]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/effects.h
New API for wxdataViewCtrl (doesn't run yet).
[wxWidgets.git] / include / wx / effects.h
index 55f988ff53d25abd1ab590daa5760a95754ef79c..eaf1f482ecba258aa9da1c82900ab11bc5b3146d 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        effects.h
+// Name:        wx/effects.h
 // Purpose:     wxEffects class
 //              Draws 3D effects.
 // Author:      Julian Smart et al
  * 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
-