X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/376aa62a5d8ead9dc9d0ab3af6628862a21137ed..bd73ba41f93a040ecf9c18040d7f788992d0a6ec:/include/wx/gtk/dcclient.h diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index 2168e181d7..77331532da 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -35,7 +35,7 @@ public: wxWindowDC(); wxWindowDC( wxWindow *win ); - ~wxWindowDC(); + virtual ~wxWindowDC(); virtual bool CanDrawBitmap() const { return TRUE; } virtual bool CanGetTextExtent() const { return TRUE; } @@ -69,7 +69,7 @@ protected: virtual bool DoBlit( wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxDC *source, wxCoord xsrc, wxCoord ysrc, - int logical_func = wxCOPY, bool useMask = FALSE ); + int logical_func = wxCOPY, bool useMask = FALSE, wxCoord xsrcMask = -1, wxCoord ysrcMask = -1 ); virtual void DoDrawText( const wxString &text, wxCoord x, wxCoord y ); virtual void DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord y, @@ -100,10 +100,6 @@ public: virtual void DestroyClippingRegion(); virtual void DoSetClippingRegionAsRegion( const wxRegion ®ion ); -#if wxUSE_SPLINES - virtual void DoDrawSpline( wxList *points ); -#endif - // Resolution in pixels per logical inch virtual wxSize GetPPI() const; virtual int GetDepth() const; @@ -147,6 +143,9 @@ public: wxClientDC() { } wxClientDC( wxWindow *win ); +protected: + virtual void DoGetSize(int *width, int *height) const; + private: DECLARE_DYNAMIC_CLASS(wxClientDC) };