]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontutil.h
NEED_GTK_ICON_SIZE_LOOKUP was incorrectly tested using #if instead of #ifdef
[wxWidgets.git] / include / wx / fontutil.h
index 3e485e569a413694aaf75ee47adb87cde32f25b7..2b26dc517169b1a894fe0cc36c29a48bc2f27734 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "wx/font.h"        // for wxFont and wxFontEncoding
 
-#if defined(__WXMSW__) && !defined(__PALMOS__)
+#if defined(__WXMSW__)
     #include "wx/msw/wrapwin.h"
 #endif
 
@@ -109,7 +109,7 @@ public:
 
     // set the XFLD
     void SetXFontName(const wxString& xFontName);
-#elif defined(__WXMSW__) && !defined(__PALMOS__)
+#elif defined(__WXMSW__)
     LOGFONT      lf;
 #elif defined(__WXPM__)
     // OS/2 native structures that define a font
@@ -166,7 +166,7 @@ public:
         if ( font.IsUsingSizeInPixels() )
             SetPixelSize(font.GetPixelSize());
         else
-        SetPointSize(font.GetPointSize());
+            SetPointSize(font.GetPointSize());
 #else
         SetPointSize(font.GetPointSize());
 #endif