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

Fixed pasting siblings (Ctrl key pressed while pasting).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Roman Rolinsky
2005-05-18 08:48:54 +00:00
parent 2f17da8b71
commit 016f67baf6
5 changed files with 76 additions and 40 deletions

View File

@@ -4,6 +4,7 @@
# Created: 02.12.2002
# RCS-ID: $Id$
import wx
from wxPython.wx import *
from wxPython.xrc import *
try:
@@ -15,9 +16,10 @@ import sys
# Global constants
progname = 'XRCed'
version = '0.1.5-1'
version = '0.1.5-2'
# Can be changed to set other default encoding different
defaultEncoding = sys.getdefaultencoding()
#defaultEncoding = sys.getdefaultencoding()
defaultEncoding = wx.GetDefaultPyEncoding()
try:
True