X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..166c3ef0f9a77a66143968be2c1b58747994d32e:/include/wx/x11/dc.h?ds=inline diff --git a/include/wx/x11/dc.h b/include/wx/x11/dc.h index 71cb341840..7c80e92e19 100644 --- a/include/wx/x11/dc.h +++ b/include/wx/x11/dc.h @@ -6,16 +6,12 @@ // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #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 {