untabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -49,9 +49,9 @@ class xxxParam(xxxNode):
|
||||
def value(self):
|
||||
return self.textNode.data.encode(g.currentEncoding)
|
||||
def update(self, value):
|
||||
try: # handle exception if encoding is wrong
|
||||
try: # handle exception if encoding is wrong
|
||||
self.textNode.data = unicode(value, g.currentEncoding)
|
||||
except UnicodeDecodeError:
|
||||
except UnicodeDecodeError:
|
||||
wxLogMessage("Unicode error: set encoding in file\nglobals.py to something appropriate")
|
||||
|
||||
# Integer parameter
|
||||
@@ -502,8 +502,8 @@ class xxxSplitterWindow(xxxContainer):
|
||||
allParams = ['orientation', 'sashpos', 'minsize', 'pos', 'size', 'style']
|
||||
paramDict = {'orientation': ParamOrientation, 'sashpos': ParamUnit, 'minsize': ParamUnit }
|
||||
winStyles = ['wxSP_3D', 'wxSP_3DSASH', 'wxSP_3DBORDER', 'wxSP_BORDER',
|
||||
'wxSP_NOBORDER', 'wxSP_PERMIT_UNSPLIT', 'wxSP_LIVE_UPDATE',
|
||||
'wxSP_NO_XP_THEME' ]
|
||||
'wxSP_NOBORDER', 'wxSP_PERMIT_UNSPLIT', 'wxSP_LIVE_UPDATE',
|
||||
'wxSP_NO_XP_THEME' ]
|
||||
|
||||
class xxxGenericDirCtrl(xxxObject):
|
||||
allParams = ['defaultfolder', 'filter', 'defaultfilter', 'pos', 'size', 'style']
|
||||
|
Reference in New Issue
Block a user