From f6f1f4adbfd33ba0959498530cadbec91cb36241 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 8 Sep 2006 09:45:10 +0000 Subject: [PATCH] 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 --- include/wx/gtk/dcclient.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.50.0