]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/font.h
Fix for missing -g from wx-config
[wxWidgets.git] / include / wx / font.h
index fe9632599cefe0d8fde6f9766a69656e7a4f5ba1..12ce162da7dad87bdc1f4ab4577d36fbe9982a5c 100644 (file)
@@ -72,12 +72,15 @@ enum wxFontWeight
 // ----------------------------------------------------------------------------
 
 class WXDLLEXPORT wxFontRefData;
 // ----------------------------------------------------------------------------
 
 class WXDLLEXPORT wxFontRefData;
-class WXDLLEXPORT wxNativeFontInfo;
+struct WXDLLEXPORT wxNativeFontInfo;
 
 class WXDLLEXPORT wxFontBase : public wxGDIObject
 {
 public:
     // creator function
 
 class WXDLLEXPORT wxFontBase : public wxGDIObject
 {
 public:
     // creator function
+#ifdef __DARWIN__
+    virtual ~wxFontBase() { }
+#endif
 
     // from the font components
     static wxFont *New(
 
     // from the font components
     static wxFont *New(
@@ -158,8 +161,8 @@ private:
     #include "wx/motif/font.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/font.h"
     #include "wx/motif/font.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/font.h"
-#elif defined(__WXQT__)
-    #include "wx/qt/font.h"
+#elif defined(__WXMGL__)
+    #include "wx/mgl/font.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/font.h"
 #elif defined(__WXPM__)
 #elif defined(__WXMAC__)
     #include "wx/mac/font.h"
 #elif defined(__WXPM__)