X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/772b37678504535c9e557cdaa8f98e27df109417..79b83ef08503bf1b546ad9df919ffd0ebf462cd7:/include/wx/gtk/dc.h diff --git a/include/wx/gtk/dc.h b/include/wx/gtk/dc.h index a2b62b262e..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); }; @@ -92,12 +92,14 @@ public: virtual void SetAxisOrientation( bool xLeftRight, bool yBottomUp ); + virtual void ComputeScaleAndOrigin(); + + virtual GdkWindow* GetGDKWindow() const { return NULL; } + protected: // implementation // -------------- - virtual void ComputeScaleAndOrigin(); - wxCoord XDEV2LOG(wxCoord x) const { return DeviceToLogicalX(x);