/[gnue]/gnue-forms/src/uidrivers/wx/common.py
ViewVC logotype

Diff of /gnue-forms/src/uidrivers/wx/common.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by siesel, Tue Nov 11 12:34:50 2003 UTC revision 1.9 by siesel, Fri Nov 28 10:52:27 2003 UTC
# Line 54  encodings = { Line 54  encodings = {
54      'cp1250': wxFONTENCODING_CP1250,      'cp1250': wxFONTENCODING_CP1250,
55      'cp1251': wxFONTENCODING_CP1251,      'cp1251': wxFONTENCODING_CP1251,
56      'cp1252': wxFONTENCODING_CP1252,      'cp1252': wxFONTENCODING_CP1252,
     'big5': wxFONTENCODING_BIG5,  
     'gb2312': wxFONTENCODING_GB2312  
57      }      }
58    
59    # adding encodings just found in newer wxwindows versions
60    try:
61        encodings.update({
62            # 'utf-8': wxFONTENCODING_UTF8,
63            'big5': wxFONTENCODING_BIG5,
64            'gb2312': wxFONTENCODING_GB2312
65            })
66    except NameError:
67        pass
68        
69    
70  # hack for wxPython 2.2 (2.3+ doesn't need this)  # hack for wxPython 2.2 (2.3+ doesn't need this)
71  def _eventObjTowxWindow(event):  def _eventObjTowxWindow(event):

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26