]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/font.h
always use wxString::operator[](size_t) - wxWin doesn't compile without it anyhow
[wxWidgets.git] / include / wx / font.h
index 73bcbbafb69b3e2b086ce9f29b48640d3bdf2744..db89e4edc4979ae62f886dc200dd84d73f5fae9b 100644 (file)
 #ifndef _WX_FONT_H_BASE_
 #define _WX_FONT_H_BASE_
 
+#ifdef __GNUG__
+    #pragma interface "fontbase.h"
+#endif
+
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
@@ -110,6 +114,8 @@ enum wxFontEncoding
 // wxFontBase represents a font object
 // ----------------------------------------------------------------------------
 
+class WXDLLEXPORT wxFontRefData;
+
 class wxFontBase : public wxGDIObject
 {
 public:
@@ -163,7 +169,7 @@ public:
 
 protected:
     // get the internal data
-    class WXDLLEXPORT wxFontRefData *GetFontData() const
+    wxFontRefData *GetFontData() const
         { return (wxFontRefData *)m_refData; }
 
 private:
@@ -195,10 +201,7 @@ private:
 // macros
 // ----------------------------------------------------------------------------
 
-#if !defined(__VISAGECPP__)
-// VZ: this is ugly (FIXME)
 #define M_FONTDATA GetFontData()
-#endif
 
 #endif
     // _WX_FONT_H_BASE_