-MacCP gMacCodePages[] =
-{
- wxFONTENCODING_MACROMAN, kTextEncodingMacRoman,
- wxFONTENCODING_MACCENTRALEUR, kTextEncodingMacCentralEurRoman,
- wxFONTENCODING_MACHEBREW, kTextEncodingMacHebrew,
- wxFONTENCODING_MACGREEK, kTextEncodingMacGreek,
- wxFONTENCODING_MACARABIC, kTextEncodingMacArabic,
- wxFONTENCODING_MACTURKISH, kTextEncodingMacTurkish,
- wxFONTENCODING_MACCYRILLIC, kTextEncodingMacCyrillic,
-} ;
-
-wxUint16 gMacEncodings[WXSIZEOF(gMacCodePages)][128] ;
-bool gMacEncodingsInited[WXSIZEOF(gMacCodePages)] ;
+ wxUint16 gMacEncodings[wxFONTENCODING_MACMAX-wxFONTENCODING_MACMIN+1][128] ;
+ bool gMacEncodingsInited[wxFONTENCODING_MACMAX-wxFONTENCODING_MACMIN+1] ;
+#endif