X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..8b56b16aca250be0f25881456350966a535095e2:/include/wx/x11/dc.h diff --git a/include/wx/x11/dc.h b/include/wx/x11/dc.h index 04af891660..7c80e92e19 100644 --- a/include/wx/x11/dc.h +++ b/include/wx/x11/dc.h @@ -12,10 +12,6 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "dc.h" -#endif - #include "wx/pen.h" #include "wx/brush.h" #include "wx/icon.h" @@ -45,7 +41,7 @@ class WXDLLEXPORT wxDC : public wxDCBase { public: wxDC(); - ~wxDC() { } + virtual ~wxDC() { } // implement base class pure virtuals // ---------------------------------- @@ -65,7 +61,7 @@ protected: virtual void DoGetSizeMM(int* width, int* height) const; public: - void ComputeScaleAndOrigin(); + virtual void ComputeScaleAndOrigin(); wxCoord XDEV2LOG(wxCoord x) const {