Log Message: |
Compatibility with wxPython 2.5. The changes should make it work
better with 2.5 while still keeping compatibility with 2.4. There
are still problems with 2.5, though.
* Thuban/UI/dock.py (DockableWindow.__CreateBorder): Pass the size
of a spacer as a single item.
* Thuban/UI/classifier.py (ClassGroupPropertiesCtrl): Derive only
from wxControl
* Thuban/UI/legend.py (LegendTree): When running with wxPython <
2.5, add an implementation of the GetFirstChild method that does
not require the second parameter.
(LegendTree.find_layer, LegendTree._OnMsgMapLayersAdded)
(LegendTree._OnMsgMapLayersRemoved, LegendTree.DeleteAllItems)
(LegendTree.DeleteChildren, LegendTree.__ShowHideLayer): Do not
pass the second parameter to GetFirstChild
|