roadlabs / cefpython

Automatically exported from code.google.com/p/cefpython
0 stars 0 forks source link

Update OnClose in wxpython examples to use the same logic as in wx.chromectrl #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the wxpython examples in the OnClose event there are calls to CloseBrowser() 
and Destroy() window. In some complex wx app it turned that this was the cause 
of crashes when closing multiple browser tabs. The solution is to only call 
ParentWindowWillClose() in the OnClose event - this behavior was already 
updated in wx.chromectrl.

Original issue reported on code.google.com by czarek.t...@gmail.com on 12 Jan 2014 at 5:35

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 9 Apr 2014 at 6:43

GoogleCodeExporter commented 9 years ago
Fixed in revision 17e7c4949737.

Original comment by czarek.t...@gmail.com on 30 Jul 2014 at 10:31

GoogleCodeExporter commented 9 years ago
This solution also probably needs to be applied to other examples: pyqt, pygtk, 
kivy.

Original comment by czarek.t...@gmail.com on 30 Jul 2014 at 10:32