]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/font.h
Initial import of wxWebKitCtrl sources and htmlctrl (right now wxWebKit) sample.
[wxWidgets.git] / include / wx / msw / font.h
index b1d31e2fb1406572fc81dd3d646171c7136565fe..13674e03c55d0cb79d0e6951b4ce08d13afadf8e 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_FONT_H_
 #define _WX_FONT_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "font.h"
 #endif
 
@@ -72,7 +72,7 @@ public:
     virtual bool GetUnderlined() const;
     virtual wxString GetFaceName() const;
     virtual wxFontEncoding GetEncoding() const;
-    virtual wxNativeFontInfo* GetNativeFontInfo() const;
+    virtual const wxNativeFontInfo *GetNativeFontInfo() const;
 
     virtual void SetPointSize(int pointSize);
     virtual void SetFamily(int family);