Force destroying dialogs
"'Pyfips' via wxPython-users" <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have a question regarding the wx.Window.Destroy() function in unit tests. The documentation says, that this does not destroy windows immediately but queues them for later deletion. Currently, I run into problems with GDI handles, since the dialogs are not destroyed properly. The wx.App.Mainloop is not executed as there are unit tests and events are processed during the test. It helps a bit to call dialog.DestroyChildren(). Is there any way how I can force processing pending deletions of wx objects? Best regards and thank you in advance Pyfips -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/dac7e998-6774-4d95-a7ad-aa754a06bbdd%40googlegroups.com.