]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fmapbase.cpp
Fixed inconsistent calculation of line height in paragraph layout
[wxWidgets.git] / src / common / fmapbase.cpp
index cc793a1139652f18073d63260b6513980e3d9916..2fe0cccbaddd7ac4ee5079fdd71a73fa7ae2d94e 100644 (file)
@@ -34,7 +34,7 @@
     #include "wx/wxcrtvararg.h"
 #endif //WX_PRECOMP
 
-#if defined(__WXMSW__)
+#if defined(__WINDOWS__)
     #include  "wx/msw/private.h"  // includes windows.h for LOGFONT
     #include  "wx/msw/winundef.h"
 #endif
@@ -236,7 +236,7 @@ static const char* const gs_encodingDescs[] =
 };
 
 // and the internal names (these are not translated on purpose!)
-static const wxChar* const gs_encodingNames[WXSIZEOF(gs_encodingDescs)][9] =
+static const wxChar* const gs_encodingNames[][9] =
 {
     // names from the columns correspond to these OS:
     //      Linux        Solaris and IRIX       HP-UX             AIX