X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ef94bfc25eb21f1d3fa93b3d55c5a1ca18d8e62..42eba91294e1c374908b63bdc5f22a5c4c29f110:/include/wx/gtk1/dc.h diff --git a/include/wx/gtk1/dc.h b/include/wx/gtk1/dc.h index f7023538ab..82f2ae49e7 100644 --- a/include/wx/gtk1/dc.h +++ b/include/wx/gtk1/dc.h @@ -39,7 +39,7 @@ class WXDLLIMPEXP_CORE wxDC : public wxDCBase { public: wxDC(); - ~wxDC() { } + virtual ~wxDC() { } #if wxUSE_PALETTE void SetColourMap( const wxPalette& palette ) { SetPalette(palette); }; @@ -66,6 +66,8 @@ public: virtual void ComputeScaleAndOrigin(); + virtual GdkWindow* GetGDKWindow() const { return NULL; } + wxCoord XDEV2LOG(wxCoord x) const { wxCoord new_x = x - m_deviceOriginX;