]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/font.h
don't use a floating point value as a boolean flag; gcc4 (correctly) complains when...
[wxWidgets.git] / include / wx / gtk / font.h
index a3daf930e386b6e0db1d2baf9545ca0f66fd50c2..2d12659dc4a970b23260a0e3abfde9c814179203 100644 (file)
 #ifndef __GTKFONTH__
 #define __GTKFONTH__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface
-#endif
-
 #include "wx/hash.h"
 
 // ----------------------------------------------------------------------------
 // classes
 // ----------------------------------------------------------------------------
 
-class wxDC;
-class wxPaintDC;
-class wxWindow;
+class WXDLLIMPEXP_CORE wxDC;
+class WXDLLIMPEXP_CORE wxPaintDC;
+class WXDLLIMPEXP_CORE wxWindow;
 
-class wxFont;
+class WXDLLIMPEXP_CORE wxFont;
 
 // ----------------------------------------------------------------------------
 // wxFont
 // ----------------------------------------------------------------------------
 
-class wxFont : public wxFontBase
+class WXDLLIMPEXP_CORE wxFont : public wxFontBase
 {
 public:
     // ctors and such
@@ -96,7 +92,7 @@ public:
     virtual void SetEncoding(wxFontEncoding encoding);
 
     virtual void SetNoAntiAliasing( bool no = true );
-    virtual bool GetNoAntiAliasing();
+    virtual bool GetNoAntiAliasing() const ;
 
     // implementation from now on
     void Unshare();