From: Vadim Zeitlin Date: Sat, 5 May 2007 21:44:17 +0000 (+0000) Subject: declare GetGDKWindow() in wxDC to fix compilation of wxRendererNative X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c3b0ceb5a9f5d49dec31b491c5a616ebdeda4ae3?ds=inline 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 --- 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;