/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/common.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/common.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1283 by jonathan, Fri Jun 20 17:46:19 2003 UTC revision 1284 by jonathan, Mon Jun 23 10:30:38 2003 UTC
# Line 6  Line 6 
6  # Read the file COPYING coming with Thuban for details.  # Read the file COPYING coming with Thuban for details.
7    
8  from Thuban.Model.color import Color  from Thuban.Model.color import Color
9  from wxPython.wx import wxColour, wxBeginBusyCursor, wxEndBusyCursor, wxYield  from wxPython.wx import wxColour, \
10         wxBeginBusyCursor, wxEndBusyCursor, wxSafeYield
11    
12  def Color2wxColour(color):  def Color2wxColour(color):
13      assert(color is not None)      assert(color is not None)
# Line 25  def wxColour2Color(colour): Line 26  def wxColour2Color(colour):
26    
27  def ThubanBeginBusyCursor():  def ThubanBeginBusyCursor():
28      wxBeginBusyCursor()      wxBeginBusyCursor()
29      wxYield()      wxSafeYield()
30    
31  def ThubanEndBusyCursor():  def ThubanEndBusyCursor():
32      wxEndBusyCursor()      wxEndBusyCursor()

Legend:
Removed from v.1283  
changed lines
  Added in v.1284

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26