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() |
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 |
|
|