X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dc44eff0235c5f30940f32ccc6d9d82a236e7d2..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/include/wx/gtk/dc.h?ds=inline 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;