1 |
2003-06-20 Jonathan Coles <[email protected]> |
2003-06-20 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/layer.py (BaseLayer.HasShapes): New. Overridden |
4 |
|
by deriving classes to determine if that layer supports shapes. |
5 |
|
(Layer): Override HasShapes and return true. |
6 |
|
|
7 |
|
* Thuban/UI/classgen.py: Use Thuban[Begin|End]BusyCursor() |
8 |
|
instead of a direct call to wx[Begin|End]CusyCursor(). |
9 |
|
(GenUniquePanel._OnRetrieve): Set busy cursor while retrieving |
10 |
|
table data. |
11 |
|
|
12 |
|
* Thuban/UI/common.py (ThubanBeginBusyCursor, ThubanEndBusyCursor): |
13 |
|
New. Wrappers around the wxWindows functions that allow us to |
14 |
|
make additional calls such as wxYield which gives the native |
15 |
|
system a chance to update the cursor correctly. |
16 |
|
|
17 |
|
* Thuban/UI/tableview.py: Use Thuban[Begin|End]BusyCursor() |
18 |
|
instead of a direct call to wx[Begin|End]CusyCursor(). |
19 |
|
|
20 |
|
* Thuban/UI/view.py: Use Thuban[Begin|End]BusyCursor() |
21 |
|
instead of a direct call to wx[Begin|End]CusyCursor(). |
22 |
|
(MapCanvas.find_shape_at): Check if the current search layer |
23 |
|
support shapes, otherwise go on to the next layer. |
24 |
|
|
25 |
|
* test/test_layer.py: Add tests in each type of layer for |
26 |
|
HasClassification() and HasShapes() |
27 |
|
|
28 |
|
2003-06-20 Jonathan Coles <[email protected]> |
29 |
|
|
30 |
* Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after |
* Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after |
31 |
turning on the busy cursor to allow the system to change the |
turning on the busy cursor to allow the system to change the |
32 |
cursor before we begin painting. This fixes a problem that |
cursor before we begin painting. This fixes a problem that |