From c3b0ceb5a9f5d49dec31b491c5a616ebdeda4ae3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 5 May 2007 21:44:17 +0000 Subject: [PATCH] declare GetGDKWindow() in wxDC to fix compilation of wxRendererNative git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk1/dc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/gtk1/dc.h b/include/wx/gtk1/dc.h index 8d6a4b1a89..fa3aa64652 100644 --- a/include/wx/gtk1/dc.h +++ b/include/wx/gtk1/dc.h @@ -38,6 +38,8 @@ public: virtual void StartPage() { } virtual void EndPage() { } + virtual GdkWindow* GetGDKWindow() const { return NULL; } + public: // implementation wxCoord XDEV2LOG(wxCoord x) const { return DeviceToLogicalX(x); } @@ -48,7 +50,7 @@ public: wxCoord XLOG2DEVREL(wxCoord x) const { return LogicalToDeviceXRel(x); } wxCoord YLOG2DEV(wxCoord y) const { return LogicalToDeviceY(y); } wxCoord YLOG2DEVREL(wxCoord y) const { return LogicalToDeviceYRel(y); } - + // base class pure virtuals implemented here virtual void DoSetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wxCoord height); virtual void DoGetSizeMM(int* width, int* height) const; -- 2.45.2