~wxWindowDC(void);
- virtual void FloodFill( long x1, long y1, wxColour* col, int style=wxFLOOD_SURFACE );
+ virtual void FloodFill( long x1, long y1, const wxColour& col, int style=wxFLOOD_SURFACE );
virtual bool GetPixel( long x1, long y1, wxColour *col ) const;
virtual void DrawLine( long x1, long y1, long x2, long y2 );
virtual long GetCharHeight(void);
virtual void Clear(void);
+ virtual void Clear(const wxRect& rect);
virtual void SetFont( const wxFont &font );
virtual void SetPen( const wxPen &pen );
virtual void SetPalette( const wxPalette& palette );
virtual void SetClippingRegion( long x, long y, long width, long height );
+ virtual void SetClippingRegion( const wxRegion& region );
virtual void DestroyClippingRegion(void);
virtual void DrawSpline( wxList *points );
DECLARE_DYNAMIC_CLASS(wxPaintDC)
public:
wxPaintDC() {}
- wxPaintDC(wxWindow* win): wxWindowDC(win) {}
+ wxPaintDC(wxWindow* win);
+ ~wxPaintDC();
};
class WXDLLEXPORT wxClientDC: public wxWindowDC