X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04ab8b6ddfa26fbabeadad36966a21a42fe649b1..04453a9e1e53ff185f26b1979a2febe1df7c656a:/include/wx/gtk1/dc.h?ds=sidebyside diff --git a/include/wx/gtk1/dc.h b/include/wx/gtk1/dc.h index 33c6663eb9..5d59f7e374 100644 --- a/include/wx/gtk1/dc.h +++ b/include/wx/gtk1/dc.h @@ -14,7 +14,7 @@ // classes //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxDC; +class WXDLLIMPEXP_FWD_CORE wxDC; //----------------------------------------------------------------------------- // wxDC @@ -38,7 +38,9 @@ public: virtual void StartPage() { } virtual void EndPage() { } -protected: + virtual GdkWindow* GetGDKWindow() const { return NULL; } + +public: // implementation wxCoord XDEV2LOG(wxCoord x) const { return DeviceToLogicalX(x); } wxCoord XDEV2LOGREL(wxCoord x) const { return DeviceToLogicalXRel(x); } @@ -48,7 +50,7 @@ protected: 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;