X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b04c4e0bd0dc4010e02d912c6a94a08e06b5327..42eba91294e1c374908b63bdc5f22a5c4c29f110:/include/wx/gtk1/dc.h diff --git a/include/wx/gtk1/dc.h b/include/wx/gtk1/dc.h index daf2bdc1ec..82f2ae49e7 100644 --- a/include/wx/gtk1/dc.h +++ b/include/wx/gtk1/dc.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/gtk/dc.h +// Name: wx/gtk1/dc.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -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;