X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e21fc053d9017f79ad71675db8d2e1497049159..235751501d3bb4141424cc08a7d88dd506746d18:/include/wx/cocoa/dc.h?ds=sidebyside diff --git a/include/wx/cocoa/dc.h b/include/wx/cocoa/dc.h index c9cc225042..db5175bcbf 100644 --- a/include/wx/cocoa/dc.h +++ b/include/wx/cocoa/dc.h @@ -29,7 +29,7 @@ class WXDLLEXPORT wxDC: public wxDCBase //------------------------------------------------------------------------- public: wxDC(); - ~wxDC(); + virtual ~wxDC(); //------------------------------------------------------------------------- // wxCocoa specifics @@ -98,7 +98,7 @@ public: wxCoord *x, wxCoord *y, wxCoord *descent = NULL, wxCoord *externalLeading = NULL, - wxFont *theFont = NULL) const; + const wxFont *theFont = NULL) const; virtual bool CanDrawBitmap() const; virtual bool CanGetTextExtent() const;