[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r10073 - trunk/gnue-navigator/src
From: |
reinhard |
Subject: |
[gnue] r10073 - trunk/gnue-navigator/src |
Date: |
Sat, 5 Dec 2009 09:33:44 -0600 (CST) |
Author: reinhard
Date: 2009-12-05 09:33:44 -0600 (Sat, 05 Dec 2009)
New Revision: 10073
Modified:
trunk/gnue-navigator/src/UIwx26.py
Log:
Be prepared for wx26 uidriver in gnue-forms to be renamed to wx.
Modified: trunk/gnue-navigator/src/UIwx26.py
===================================================================
--- trunk/gnue-navigator/src/UIwx26.py 2009-12-05 14:18:50 UTC (rev 10072)
+++ trunk/gnue-navigator/src/UIwx26.py 2009-12-05 15:33:44 UTC (rev 10073)
@@ -32,7 +32,12 @@
wxversion.ensureMinimal('2.6')
from gnue import paths
-from gnue.forms.uidrivers import wx26 as ui
+try:
+ from gnue.forms.uidrivers import wx26 as ui
+except ImportError:
+ # wx26 UIdriver will be renamed to wx in gnue-forms 0.7
+ from gnue.forms.uidrivers import wx as ui
+
from gnue.navigator import VERSION
# Must import wx *after* importing wx26 uidriver from forms.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r10073 - trunk/gnue-navigator/src,
reinhard <=