]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/font.h
fixed friend class declaration (why the hell did somebody fix it only for his compiler?!)
[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__)