[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r8938 - in trunk/gnue-forms/src/uidrivers/wx26: . widgets
From: |
johannes |
Subject: |
[gnue] r8938 - in trunk/gnue-forms/src/uidrivers/wx26: . widgets |
Date: |
Fri, 27 Oct 2006 01:50:51 -0500 (CDT) |
Author: johannes
Date: 2006-10-27 01:50:50 -0500 (Fri, 27 Oct 2006)
New Revision: 8938
Modified:
trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py
trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py
Log:
Select the wx-version using ensureMinimal() instead of select(), so
users having a version above 2.6 installed only can still use forms :)
Modified: trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py 2006-10-27 03:06:09 UTC
(rev 8937)
+++ trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py 2006-10-27 06:50:50 UTC
(rev 8938)
@@ -28,10 +28,7 @@
try:
if not hasattr(sys, 'frozen'):
import wxversion
- wxversion.select ('2.6')
- import wx
- if wx.VERSION [:2] < (2, 6):
- raise ImportError
+ wxversion.ensureMinimal('2.6')
except ImportError:
raise Exceptions.DriverNotSupported, \
Modified: trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py 2006-10-27 03:06:09 UTC
(rev 8937)
+++ trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py 2006-10-27 06:50:50 UTC
(rev 8938)
@@ -319,7 +319,8 @@
"""
Display the normal mouse cursor on all windows of the application.
"""
- wx.EndBusyCursor()
+ if wx.IsBusy:
+ wx.EndBusyCursor()
# -------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r8938 - in trunk/gnue-forms/src/uidrivers/wx26: . widgets,
johannes <=