diff --git a/etg/notifmsg.py b/etg/notifmsg.py index cc84e4b5..f85b8675 100644 --- a/etg/notifmsg.py +++ b/etg/notifmsg.py @@ -33,6 +33,7 @@ def run(): c = module.find('wxNotificationMessage') assert isinstance(c, etgtools.ClassDef) + c.mustHaveApp() # take care of some methods only available on MSW c.find('UseTaskBarIcon').setCppCode("""\