Created attachment 63023 [details] Patch to correct TLW behaviour In some situations when a wxWebView is created it is unable to find a top level (grand)parent window. The code currently assumes it will always be able to do this so in these instances it either crashes or behaves erratically, I attach a patch below that attempts to handle the situation more gracefully as well as warning about the problem when in debug mode.
It appears that the solution is not as simple as I thought and that the attached patch does not really fix it fully. This will have to be approached in another way. The latest trunk version seems to be addressing this so I am withdrawing the report.