Paul Wiseman
2014-09-19 10:39:33 UTC
I noticed that after upgrading from 2.8.12.1 to 3.0.1.1 that the
MacReopenApp event handler no longer appears to be getting called. Was
there any change made that I need to make to get it working again?
This example previously worked, but doesn't appear to be under 3 -
clicking on the dock icon isn't calling the handler.
import wx
class App(wx.App):
def OnInit(self):
self.frame = wx.Frame(None)
self.frame.Show()
return True
def MacReopenApp(self):
print ("reopen")
self.frame.Raise()
if __name__ == "__main__":
app = App(False)
app.MainLoop()
MacReopenApp event handler no longer appears to be getting called. Was
there any change made that I need to make to get it working again?
This example previously worked, but doesn't appear to be under 3 -
clicking on the dock icon isn't calling the handler.
import wx
class App(wx.App):
def OnInit(self):
self.frame = wx.Frame(None)
self.frame.Show()
return True
def MacReopenApp(self):
print ("reopen")
self.frame.Raise()
if __name__ == "__main__":
app = App(False)
app.MainLoop()
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.