]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontutil.h
Makes custom cell activatable.
[wxWidgets.git] / include / wx / fontutil.h
index e944c158e7c9955962bef1c9c3d88b97324bf51d..d2491dcbc534c154f8cd20bb8d7c1910385355f9 100644 (file)
 #ifndef _WX_FONTUTIL_H_
 #define _WX_FONTUTIL_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "fontutil.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
 
 #include "wx/font.h"        // for wxFont and wxFontEncoding
 
-#if defined(__WXMSW__) && !defined(__WXPALMOS__)
+#if defined(__WXMSW__)
     #include "wx/msw/wrapwin.h"
 #endif
 
@@ -109,7 +105,7 @@ public:
 
     // set the XFLD
     void SetXFontName(const wxString& xFontName);
-#elif defined(__WXMSW__) && !defined(__WXPALMOS__)
+#elif defined(__WXMSW__)
     LOGFONT      lf;
 #elif defined(__WXPM__)
     // OS/2 native structures that define a font
@@ -166,7 +162,7 @@ public:
         if ( font.IsUsingSizeInPixels() )
             SetPixelSize(font.GetPixelSize());
         else
-        SetPointSize(font.GetPointSize());
+            SetPointSize(font.GetPointSize());
 #else
         SetPointSize(font.GetPointSize());
 #endif
@@ -199,7 +195,7 @@ public:
     void SetStyle(wxFontStyle style);
     void SetWeight(wxFontWeight weight);
     void SetUnderlined(bool underlined);
-    void SetFaceName(wxString facename);
+    void SetFaceName(const wxString& facename);
     void SetFamily(wxFontFamily family);
     void SetEncoding(wxFontEncoding encoding);