X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..3b49331b7441e091fc5997b830801d76a1243f28:/include/wx/gtk1/dcclient.h diff --git a/include/wx/gtk1/dcclient.h b/include/wx/gtk1/dcclient.h index 4cc62a0e4c..bd31d9b113 100644 --- a/include/wx/gtk1/dcclient.h +++ b/include/wx/gtk1/dcclient.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dcclient.h +// Name: wx/gtk1/dcclient.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -17,9 +17,9 @@ // classes //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxWindowDC; -class WXDLLIMPEXP_CORE wxPaintDC; -class WXDLLIMPEXP_CORE wxClientDC; +class WXDLLIMPEXP_FWD_CORE wxWindowDC; +class WXDLLIMPEXP_FWD_CORE wxPaintDC; +class WXDLLIMPEXP_FWD_CORE wxClientDC; //----------------------------------------------------------------------------- // wxWindowDC @@ -74,7 +74,7 @@ protected: wxCoord *width, wxCoord *height, wxCoord *descent = (wxCoord *) NULL, wxCoord *externalLeading = (wxCoord *) NULL, - wxFont *theFont = (wxFont *) NULL) const; + const wxFont *theFont = (wxFont *) NULL) const; public: virtual wxCoord GetCharWidth() const; @@ -100,6 +100,8 @@ public: virtual wxSize GetPPI() const; virtual int GetDepth() const; + virtual GdkWindow* GetGDKWindow() const { return m_window; } + // implementation // -------------- @@ -115,13 +117,6 @@ public: wxRegion m_currentClippingRegion; 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(); virtual void ComputeScaleAndOrigin();