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

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

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

revision 577 by jonathan, Mon Mar 31 18:31:33 2003 UTC revision 605 by jonathan, Fri Apr 4 12:16:13 2003 UTC
# Line 252  class DockableWindow(Publisher): Line 252  class DockableWindow(Publisher):
252      #      #
253    
254      def _OnButtonClose(self, event):      def _OnButtonClose(self, event):
255          self.Close()          #self.Close()
256            self.Destroy()
257    
258      def _OnClose(self, force = False):      def _OnClose(self, force = False):
259          self.Destroy()          self.Destroy()
# Line 446  class DockFrame(wxFrame): Line 447  class DockFrame(wxFrame):
447          #print dockPanel          #print dockPanel
448          panel = dockPanel.FindWindowById(PANEL_ID)          panel = dockPanel.FindWindowById(PANEL_ID)
449          #print panel          #print panel
450          assert(isinstance(panel, DockPanel))          assert isinstance(panel, DockPanel)
451          win = panel.GetDockParent()          win = panel.GetDockParent()
452          #print win          #print win
453          assert(isinstance(win, DockableWindow))          assert isinstance(win, DockableWindow)
454    
455          assert(win.IsDocked())          assert win.IsDocked()
456    
457          rect = event.GetDragRect()          rect = event.GetDragRect()
458    

Legend:
Removed from v.577  
changed lines
  Added in v.605

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26