X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9562c6b2d91fe515ab71c5fea2d43d03e91f49e..57d7f9888e18d350fb023fdccd39e0ab7a3bb8dd:/include/wx/gtk/dc.h?ds=sidebyside diff --git a/include/wx/gtk/dc.h b/include/wx/gtk/dc.h index ea4b5b3e88..19f11b607c 100644 --- a/include/wx/gtk/dc.h +++ b/include/wx/gtk/dc.h @@ -70,7 +70,7 @@ class WXDLLIMPEXP_CORE wxDC : public wxDCBase { public: wxDC(); - ~wxDC() { } + virtual ~wxDC() { } #if wxUSE_PALETTE void SetColourMap( const wxPalette& palette ) { SetPalette(palette); }; @@ -94,6 +94,8 @@ public: virtual void ComputeScaleAndOrigin(); + virtual GdkWindow* GetGDKWindow() const { return NULL; } + protected: // implementation // --------------