]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/font.h
backported fix for proper tree ctrl refershing after changing item colour/font from 2.2
[wxWidgets.git] / include / wx / font.h
index b5d1650c3b352e63fad096931097fb29b053378a..1aad6d9172ffb80e4495f80385d862ac14611f60 100644 (file)
@@ -78,6 +78,9 @@ class WXDLLEXPORT wxFontBase : public wxGDIObject
 {
 public:
     // creator function
+#ifdef __DARWIN__
+    virtual ~wxFontBase() { }
+#endif
 
     // from the font components
     static wxFont *New(
@@ -158,6 +161,8 @@ private:
     #include "wx/motif/font.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/font.h"
+#elif defined(__WXMGL__)
+    #include "wx/mgl/font.h"
 #elif defined(__WXQT__)
     #include "wx/qt/font.h"
 #elif defined(__WXMAC__)