62 |
Extend this in derived classes if needed. |
Extend this in derived classes if needed. |
63 |
""" |
""" |
64 |
self.session.Destroy() |
self.session.Destroy() |
65 |
|
self.session = None |
66 |
Publisher.Destroy(self) |
Publisher.Destroy(self) |
67 |
|
|
|
def MainLoop(self): |
|
|
"""Call the inherited MainLoop method and then call OnExit. |
|
|
|
|
|
In wxPython OnExit isn't called automatically, unfortunately, so |
|
|
we do it here. |
|
|
""" |
|
|
wxApp.MainLoop(self) |
|
|
self.OnExit() |
|
|
|
|
68 |
def read_startup_files(self): |
def read_startup_files(self): |
69 |
"""Read the startup files.""" |
"""Read the startup files.""" |
70 |
# for now the startup file is ~/.thuban/thubanstart.py |
# for now the startup file is ~/.thuban/thubanstart.py |