[Boa Constr] last cvs bug
Status: Beta
Brought to you by:
riaan
From: Michele P. <mic...@un...> - 2006-11-10 17:27:00
|
Hi, the wx.Locale.IsAvailable was introduce into 2.7.1, so for old version, use this function can be a problem. This patch solve the problem. PrefsExplorer line 379 def getValues(self): if wx.__version__ >= '2.7.1.0': return ['wx.'+n for n in dir(wx) if n.startswith('LANGUAGE_') and wx.Locale.IsAvailable(getattr(wx, n))] else: return ['wx.'+n for n in dir(wx) if n.startswith('LANGUAGE_') ] Michele |