Am 2008-11-29 um 22:26 schrieb Ed Leafe:
>> There really is no hook for this point of the app creation code. I
>> think it would be a good idea to add an afterSetup() hook method to
>> dApp, which would be called after the UI has been initialized. Let me
>> play with it a little bit, and I should have a commit soon.
> It seems to work as expected, so I've committed the change. Now if
> you grab the latest from Subversion and put your code in the app's
> afterSetup() method, it should be able to reference self.uiApp.
Thank you for your effort, but at least this method of my app doesn't
work:
def afterSetup(self):
self.uiApp.MacOpenFile = self.MacOpenFile
The method itself is called, but the monkey patch doesn't seem to have
any influence.
So Paul's suggestion of wx.GetApp() wouldn't help either.
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net
https://www.cacert.org (I'm an assurer)
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]