#include "wx/dcclient.h"
#include "wx/dcmemory.h"
+#include "wx/region.h"
#include <math.h>
//-----------------------------------------------------------------------------
};
void wxWindowDC::FloodFill( long WXUNUSED(x1), long WXUNUSED(y1),
- wxColour* WXUNUSED(col), int WXUNUSED(style) )
+ const wxColour& WXUNUSED(col), int WXUNUSED(style) )
{
};
void wxWindowDC::SetClippingRegion( long x, long y, long width, long height )
{
wxDC::SetClippingRegion( x, y, width, height );
+
+ // TODO
};
+void wxWindowDC::SetClippingRegion( const wxRegion& region )
+{
+ wxRect box = region.GetBox();
+
+ wxDC::SetClippingRegion( box.x, box.y, box.width, box.height );
+
+ // TODO
+}
+
void wxWindowDC::DestroyClippingRegion(void)
{
wxDC::DestroyClippingRegion();