-------

Using wx.GetDefaultPyEncoding/wx.SetDefaultPyEncoding for changing active encoding.

Fixed pasting siblings (Ctrl key pressed while pasting).

Dealed with ascii build (Python does not recognize 'ascii' as valid encoding).
If encoding is not specified it is not written in XRC. Will add more
customization in the future.

Changed to use SimpleTool instead or Toggle tool (does not work on Win32).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Roman Rolinsky
2005-05-26 01:10:05 +00:00
parent 628eae0bcd
commit 9a69d0aa1d
7 changed files with 32 additions and 134 deletions

View File

@@ -4,7 +4,6 @@
# Created: 02.12.2002
# RCS-ID: $Id$
import wx
from wxPython.wx import *
from wxPython.xrc import *
try:
@@ -18,8 +17,10 @@ import sys
progname = 'XRCed'
version = '0.1.5-2'
# Can be changed to set other default encoding different
#defaultEncoding = sys.getdefaultencoding()
defaultEncoding = wx.GetDefaultPyEncoding()
defaultEncoding = ''
# you comment above and can uncomment this:
#import wx
#defaultEncoding = wx.GetDefaultPyEncoding()
try:
True