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 );
void SetDCClipping (); // Helper function for setting clipping
inline WXGC GetGC() const { return m_gc; }
+ inline WXDisplay* GetDisplay() const { return m_display; }
inline bool GetAutoSetting() const { return m_autoSetting; }
inline void SetAutoSetting(bool flag) { m_autoSetting = flag; }
DECLARE_DYNAMIC_CLASS(wxPaintDC)
public:
wxPaintDC() {}
- wxPaintDC(wxWindow* win): wxWindowDC(win) {}
+ wxPaintDC(wxWindow* win);
+ ~wxPaintDC();
};
class WXDLLEXPORT wxClientDC: public wxWindowDC