]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/font.h
#ifdefed wxPopupComboWindow to be used only in wxUniv
[wxWidgets.git] / include / wx / font.h
index fe9632599cefe0d8fde6f9766a69656e7a4f5ba1..c5bc183ad655f24052e72965559303d890a45dc1 100644 (file)
@@ -72,12 +72,15 @@ enum wxFontWeight
 // ----------------------------------------------------------------------------
 
 class WXDLLEXPORT wxFontRefData;
-class WXDLLEXPORT wxNativeFontInfo;
+struct WXDLLEXPORT wxNativeFontInfo;
 
 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(
@@ -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__)