From 7e377e361ec0a5f0c90757a111e5b53c018fb3ee Mon Sep 17 00:00:00 2001 From: Pierre Ratinaud Date: Wed, 3 Dec 2014 22:02:26 +0100 Subject: [PATCH] ... --- dialog.py | 6 +++--- guifunct.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dialog.py b/dialog.py index 2856533..e063cda 100755 --- a/dialog.py +++ b/dialog.py @@ -543,9 +543,9 @@ class PrefGraph(wx.Dialog): self.paramgraph=paramgraph self.labeltype = wx.StaticText(self, -1, _(u"Graphic type").decode('utf8')) if self.paramgraph['clnb'] <= 3 : - choix = [u'2D', 'web 2D'] + choix = [u'2D']#, 'web 2D'] else : - choix=[u'2D' ,u'3D', 'web 2D', 'web 3D'] + choix=[u'2D' ,u'3D']#, 'web 2D', 'web 3D'] self.choicetype = wx.Choice(self, -1, (100,50), choices=choix) self.label_format = wx.StaticText(self, -1, _(u"Picture format").decode('utf8')) self.choix_format = wx.Choice(self, -1, (100,50), choices = ['png', 'svg']) @@ -1053,7 +1053,7 @@ class StatDialog ( wx.Dialog ): self.m_staticText1.Wrap( -1 ) gSizer1.Add( self.m_staticText1, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) - radio_lemChoices = [ u"yes", u"no" ] + radio_lemChoices = [ _(u"yes").decode('utf8'), _(u"no").decode('utf8') ] self.radio_lem = wx.RadioBox( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, radio_lemChoices, 1, wx.RA_SPECIFY_COLS ) self.radio_lem.SetSelection( 0 ) gSizer1.Add( self.radio_lem, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_LEFT|wx.ALL, 5 ) diff --git a/guifunct.py b/guifunct.py index b3b0782..c20ee70 100644 --- a/guifunct.py +++ b/guifunct.py @@ -250,7 +250,7 @@ class PrefSimi ( wx.Dialog ): self.m_staticText5.Wrap( -1 ) fgSizer3.Add( self.m_staticText5, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 ) - choice3Choices = [ u"dynamique", u"statique", u"3D", u'web2D', u"web3D" ] + choice3Choices = [ u"dynamique", u"statique", u"3D"]#, u'web2D', u"web3D" ] self.choice3 = wx.Choice( self.m_panel2, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, choice3Choices, 0 ) self.choice3.SetSelection( 0 ) -- 2.7.4