From 9cca52ba2be26a227b45271e96209b96658478b3 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 23 Jan 2004 21:07:50 +0000 Subject: [PATCH] More encoding constants git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_font.i | 50 ++++++++++++++++++++++++++++++++------ wxPython/src/_gdi_rename.i | 41 ++++++++++++++++++++++++++++--- 2 files changed, 81 insertions(+), 10 deletions(-) diff --git a/wxPython/src/_font.i b/wxPython/src/_font.i index 2d8e25b56c..fc4d975bbf 100644 --- a/wxPython/src/_font.i +++ b/wxPython/src/_font.i @@ -153,13 +153,49 @@ enum wxFontEncoding wxFONTENCODING_UTF32BE, // UTF-32 Big Endian Unicode encoding wxFONTENCODING_UTF32LE, // UTF-32 Little Endian Unicode encoding - wxFONTENCODING_MACROMAN, // Mac Roman encoding - wxFONTENCODING_MACCENTRALEUR, // Mac Roman Central Europe encoding - wxFONTENCODING_MACHEBREW, // Mac Hebrew encoding - wxFONTENCODING_MACGREEK, // Mac Greek encoding - wxFONTENCODING_MACARABIC, // Mac Arabic encoding - wxFONTENCODING_MACTURKISH, // Mac Turkish encoding - wxFONTENCODING_MACCYRILLIC, // Mac Cyrillic encoding + wxFONTENCODING_MACROMAN, // the standard mac encodings + wxFONTENCODING_MACJAPANESE, + wxFONTENCODING_MACCHINESETRAD, + wxFONTENCODING_MACKOREAN, + wxFONTENCODING_MACARABIC, + wxFONTENCODING_MACHEBREW, + wxFONTENCODING_MACGREEK, + wxFONTENCODING_MACCYRILLIC, + wxFONTENCODING_MACDEVANAGARI, + wxFONTENCODING_MACGURMUKHI, + wxFONTENCODING_MACGUJARATI, + wxFONTENCODING_MACORIYA, + wxFONTENCODING_MACBENGALI, + wxFONTENCODING_MACTAMIL, + wxFONTENCODING_MACTELUGU, + wxFONTENCODING_MACKANNADA, + wxFONTENCODING_MACMALAJALAM, + wxFONTENCODING_MACSINHALESE, + wxFONTENCODING_MACBURMESE, + wxFONTENCODING_MACKHMER, + wxFONTENCODING_MACTHAI, + wxFONTENCODING_MACLAOTIAN, + wxFONTENCODING_MACGEORGIAN, + wxFONTENCODING_MACARMENIAN, + wxFONTENCODING_MACCHINESESIMP, + wxFONTENCODING_MACTIBETAN, + wxFONTENCODING_MACMONGOLIAN, + wxFONTENCODING_MACETHIOPIC, + wxFONTENCODING_MACCENTRALEUR, + wxFONTENCODING_MACVIATNAMESE, + wxFONTENCODING_MACARABICEXT, + wxFONTENCODING_MACSYMBOL, + wxFONTENCODING_MACDINGBATS, + wxFONTENCODING_MACTURKISH, + wxFONTENCODING_MACCROATIAN, + wxFONTENCODING_MACICELANDIC, + wxFONTENCODING_MACROMANIAN, + wxFONTENCODING_MACCELTIC, + wxFONTENCODING_MACGAELIC, + wxFONTENCODING_MACKEYBOARD, + + wxFONTENCODING_MACMIN = wxFONTENCODING_MACROMAN , + wxFONTENCODING_MACMAX = wxFONTENCODING_MACKEYBOARD , wxFONTENCODING_MAX, // highest enumerated encoding value diff --git a/wxPython/src/_gdi_rename.i b/wxPython/src/_gdi_rename.i index 34647d4ed0..bcadff7248 100644 --- a/wxPython/src/_gdi_rename.i +++ b/wxPython/src/_gdi_rename.i @@ -95,12 +95,47 @@ %rename(FONTENCODING_UTF32BE) wxFONTENCODING_UTF32BE; %rename(FONTENCODING_UTF32LE) wxFONTENCODING_UTF32LE; %rename(FONTENCODING_MACROMAN) wxFONTENCODING_MACROMAN; -%rename(FONTENCODING_MACCENTRALEUR) wxFONTENCODING_MACCENTRALEUR; +%rename(FONTENCODING_MACJAPANESE) wxFONTENCODING_MACJAPANESE; +%rename(FONTENCODING_MACCHINESETRAD) wxFONTENCODING_MACCHINESETRAD; +%rename(FONTENCODING_MACKOREAN) wxFONTENCODING_MACKOREAN; +%rename(FONTENCODING_MACARABIC) wxFONTENCODING_MACARABIC; %rename(FONTENCODING_MACHEBREW) wxFONTENCODING_MACHEBREW; %rename(FONTENCODING_MACGREEK) wxFONTENCODING_MACGREEK; -%rename(FONTENCODING_MACARABIC) wxFONTENCODING_MACARABIC; -%rename(FONTENCODING_MACTURKISH) wxFONTENCODING_MACTURKISH; %rename(FONTENCODING_MACCYRILLIC) wxFONTENCODING_MACCYRILLIC; +%rename(FONTENCODING_MACDEVANAGARI) wxFONTENCODING_MACDEVANAGARI; +%rename(FONTENCODING_MACGURMUKHI) wxFONTENCODING_MACGURMUKHI; +%rename(FONTENCODING_MACGUJARATI) wxFONTENCODING_MACGUJARATI; +%rename(FONTENCODING_MACORIYA) wxFONTENCODING_MACORIYA; +%rename(FONTENCODING_MACBENGALI) wxFONTENCODING_MACBENGALI; +%rename(FONTENCODING_MACTAMIL) wxFONTENCODING_MACTAMIL; +%rename(FONTENCODING_MACTELUGU) wxFONTENCODING_MACTELUGU; +%rename(FONTENCODING_MACKANNADA) wxFONTENCODING_MACKANNADA; +%rename(FONTENCODING_MACMALAJALAM) wxFONTENCODING_MACMALAJALAM; +%rename(FONTENCODING_MACSINHALESE) wxFONTENCODING_MACSINHALESE; +%rename(FONTENCODING_MACBURMESE) wxFONTENCODING_MACBURMESE; +%rename(FONTENCODING_MACKHMER) wxFONTENCODING_MACKHMER; +%rename(FONTENCODING_MACTHAI) wxFONTENCODING_MACTHAI; +%rename(FONTENCODING_MACLAOTIAN) wxFONTENCODING_MACLAOTIAN; +%rename(FONTENCODING_MACGEORGIAN) wxFONTENCODING_MACGEORGIAN; +%rename(FONTENCODING_MACARMENIAN) wxFONTENCODING_MACARMENIAN; +%rename(FONTENCODING_MACCHINESESIMP) wxFONTENCODING_MACCHINESESIMP; +%rename(FONTENCODING_MACTIBETAN) wxFONTENCODING_MACTIBETAN; +%rename(FONTENCODING_MACMONGOLIAN) wxFONTENCODING_MACMONGOLIAN; +%rename(FONTENCODING_MACETHIOPIC) wxFONTENCODING_MACETHIOPIC; +%rename(FONTENCODING_MACCENTRALEUR) wxFONTENCODING_MACCENTRALEUR; +%rename(FONTENCODING_MACVIATNAMESE) wxFONTENCODING_MACVIATNAMESE; +%rename(FONTENCODING_MACARABICEXT) wxFONTENCODING_MACARABICEXT; +%rename(FONTENCODING_MACSYMBOL) wxFONTENCODING_MACSYMBOL; +%rename(FONTENCODING_MACDINGBATS) wxFONTENCODING_MACDINGBATS; +%rename(FONTENCODING_MACTURKISH) wxFONTENCODING_MACTURKISH; +%rename(FONTENCODING_MACCROATIAN) wxFONTENCODING_MACCROATIAN; +%rename(FONTENCODING_MACICELANDIC) wxFONTENCODING_MACICELANDIC; +%rename(FONTENCODING_MACROMANIAN) wxFONTENCODING_MACROMANIAN; +%rename(FONTENCODING_MACCELTIC) wxFONTENCODING_MACCELTIC; +%rename(FONTENCODING_MACGAELIC) wxFONTENCODING_MACGAELIC; +%rename(FONTENCODING_MACKEYBOARD) wxFONTENCODING_MACKEYBOARD; +%rename(FONTENCODING_MACMIN) wxFONTENCODING_MACMIN; +%rename(FONTENCODING_MACMAX) wxFONTENCODING_MACMAX; %rename(FONTENCODING_MAX) wxFONTENCODING_MAX; %rename(FONTENCODING_UTF16) wxFONTENCODING_UTF16; %rename(FONTENCODING_UTF32) wxFONTENCODING_UTF32; -- 2.45.2