git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22261
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// in a secondary thread because if it had created some
// window somehow (possible not even using wxWindows)
// the system might dead lock then
// in a secondary thread because if it had created some
// window somehow (possible not even using wxWindows)
// the system might dead lock then
+ if ( wxThread::IsMain() )
{
// it looks that sometimes WAIT_OBJECT_0 + 1 is
// returned but there are no messages in the thread
{
// it looks that sometimes WAIT_OBJECT_0 + 1 is
// returned but there are no messages in the thread