Parent Directory
|
Revision Log
Sticky Revision: |
made a copy
2006-09-18 Didrik Pinte <dpinte@itae.be> * wxPython 2.6 update : wx 2.4 syntax has been updated to 2.6
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
Add docstrings.
(DockFrame): Rename references to _OnClose to OnClose so that Thuban closes correctly.
Fixes some window resizing problems most noticable under windows. Always assume the button bitmaps will be there. Code clean up. (DockabelWindow.Dock, DockableWindow.UnDock): Force all the images for the dock/undock button to the same images. Work around for RTbug #1801.
Always assume the button bitmaps will be there. Code clean up.
Fixes some window resizing problems most noticable under windows.
check in to test dock changes under windows.
Use new bitmaps for the control buttons.
It was decided that if the user closes a dockable window the window should simply hide itself. That way if the user wants to show the dock again it appears in the same place as it was when it was closed. (DockableWindow.Destroy): Call renamed method OnDockDestroy(). (DockableWindow._OnButtonClose): Hide the window instead of destroying it. (DockableWindow._OnClose): Hide the window instead of destroying it.
Fix Windows problem.
Fix assert calls.
(DockableWindow._OnButtonClose): Call self.Destroy() to close the window after yesterday's changes.
(DockableWindow.UnDock): Restore size and position (although position doesn't work yet under GTK). (DockableWindow.Destroy): New. Called when the window must be closed. Namely needed when the DockFrame closes and must close its children. (DockFrame): Listen for EVT_CLOSE and destroy all children.
Complete rework on the dock code so that that it is fairly removed from the rest of the Thuban application. It is easy to add new docks which the rest of the program having to be aware of them.
Added missing import line.
New. Classes for the DockPanel and DockableWindow.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |