]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dc.h
Added compile guards to wxEditableListBox
[wxWidgets.git] / include / wx / cocoa / dc.h
index c9cc2250429866d13616dcb05dfd273e32df8595..db5175bcbfecaf2c564bd899beab567f3f027f41 100644 (file)
@@ -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;