]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/metafile.h
Adding support for item font/style/color customization, unfortunately, it does not...
[wxWidgets.git] / include / wx / mac / carbon / metafile.h
index add0be172af9a2c882c9aed80fa21d3ebc9eedde..e23f826746822f32dd1aaa66f536b6f4d5c25655 100644 (file)
@@ -40,14 +40,15 @@ class WXDLLEXPORT wxMetafile: public wxGDIObject
     DECLARE_DYNAMIC_CLASS(wxMetafile)
 public:
     wxMetafile(const wxString& file = wxEmptyString);
-    ~wxMetafile(void);
+    virtual ~wxMetafile(void);
 
     // After this is called, the metafile cannot be used for anything
     // since it is now owned by the clipboard.
     virtual bool SetClipboard(int width = 0, int height = 0);
 
     virtual bool Play(wxDC *dc);
-    bool Ok() const ;
+    bool Ok() const { return IsOk(); }
+    bool IsOk() const ;
 
     wxSize GetSize() const;
     int GetWidth() const { return GetSize().x; }
@@ -75,7 +76,7 @@ class WXDLLEXPORT wxMetafileDC: public wxDC
                     int width = 0, int height = 0,
                     const wxString& description = wxEmptyString);
 
-  ~wxMetafileDC(void);
+  virtual ~wxMetafileDC(void);
 
   // Should be called at end of drawing
   virtual wxMetafile *Close(void);