X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..1bc7969717b319226d221ab84ebda3298d928b0c:/include/wx/gtk/dcclient.h?ds=sidebyside diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index 4cc62a0e4c..2555d5b388 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -75,6 +75,8 @@ protected: wxCoord *descent = (wxCoord *) NULL, wxCoord *externalLeading = (wxCoord *) NULL, wxFont *theFont = (wxFont *) NULL) const; + virtual void DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height ); + virtual void DoSetClippingRegionAsRegion( const wxRegion ®ion ); public: virtual wxCoord GetCharWidth() const; @@ -92,9 +94,7 @@ public: virtual void SetBackgroundMode( int mode ); virtual void SetPalette( const wxPalette& palette ); - virtual void DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height ); virtual void DestroyClippingRegion(); - virtual void DoSetClippingRegionAsRegion( const wxRegion ®ion ); // Resolution in pixels per logical inch virtual wxSize GetPPI() const; @@ -116,11 +116,9 @@ public: wxRegion m_paintClippingRegion; // PangoContext stuff for GTK 2.0 -#ifdef __WXGTK20__ PangoContext *m_context; PangoLayout *m_layout; PangoFontDescription *m_fontdesc; -#endif void SetUpDC(); void Destroy();