X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dc44eff0235c5f30940f32ccc6d9d82a236e7d2..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/gtk/dc.h diff --git a/include/wx/gtk/dc.h b/include/wx/gtk/dc.h index 65944e6a70..3ea33224c2 100644 --- a/include/wx/gtk/dc.h +++ b/include/wx/gtk/dc.h @@ -19,7 +19,9 @@ class wxGTKCairoDCImpl: public wxGCDCImpl typedef wxGCDCImpl base_type; public: wxGTKCairoDCImpl(wxDC* owner); + wxGTKCairoDCImpl(wxDC* owner, int); wxGTKCairoDCImpl(wxDC* owner, wxWindow* window); + virtual void DoDrawBitmap(const wxBitmap& bitmap, int x, int y, bool useMask); virtual void DoDrawIcon(const wxIcon& icon, int x, int y); #if wxUSE_IMAGE @@ -134,7 +136,8 @@ public: virtual void EndPage() { } virtual GdkWindow* GetGDKWindow() const { return NULL; } - + virtual void* GetHandle() const { return GetGDKWindow(); } + // 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;