]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/font.h
added a call for invalidating the dc setup on mac explicitely (needed in case of...
[wxWidgets.git] / include / wx / font.h
index b5d1650c3b352e63fad096931097fb29b053378a..d38bd307f3cb861f0fc047d0f4c384c2860bb141 100644 (file)
@@ -78,6 +78,9 @@ class WXDLLEXPORT wxFontBase : public wxGDIObject
 {
 public:
     // creator function
+#ifdef __WXMAC_X__
+    virtual ~wxFontBase() {}  // Added min for Mac X
+#endif
 
     // from the font components
     static wxFont *New(