From: Robert Roebling Date: Fri, 8 Sep 2006 09:45:10 +0000 (+0000) Subject: Sadly, direct access to SetUpDC is required for the X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f6f1f4adbfd33ba0959498530cadbec91cb36241 Sadly, direct access to SetUpDC is required for the native custom rendering of wxDataViewCells git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index 38a639311a..1dbedda34f 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -94,6 +94,7 @@ public: virtual wxSize GetPPI() const; virtual int GetDepth() const; +// protected: // implementation // -------------- @@ -114,9 +115,10 @@ public: PangoLayout *m_layout; PangoFontDescription *m_fontdesc; -protected: void SetUpDC(); void Destroy(); + +protected: virtual void ComputeScaleAndOrigin(); GdkWindow *GetWindow() { return m_window; }