equal
deleted
inserted
replaced
110 if os.path.exists("BEREMIZ_DEBUG"): |
110 if os.path.exists("BEREMIZ_DEBUG"): |
111 __builtin__.__dict__["BMZ_DBG"] = True |
111 __builtin__.__dict__["BMZ_DBG"] = True |
112 else: |
112 else: |
113 __builtin__.__dict__["BMZ_DBG"] = False |
113 __builtin__.__dict__["BMZ_DBG"] = False |
114 |
114 |
115 global wxversion, wx |
115 global wx |
116 import wxversion |
|
117 wxversion.select(['2.8', '3.0']) |
|
118 import wx |
116 import wx |
119 |
117 |
120 if wx.VERSION >= (3, 0, 0): |
118 if wx.VERSION >= (3, 0, 0): |
121 self.app = wx.App(redirect=BMZ_DBG) |
119 self.app = wx.App(redirect=BMZ_DBG) |
122 else: |
120 else: |