Test if g_thread alreasy is initialized.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2003-09-10 14:32:25 +00:00
parent 652a4489b8
commit 9d7fde109c
2 changed files with 4 additions and 2 deletions

View File

@@ -791,7 +791,8 @@ int wxEntryStart( int& argc, char *argv[] )
}
else
{
g_thread_init(NULL);
if (!g_thread_supported())
g_thread_init(NULL);
}
#endif

View File

@@ -791,7 +791,8 @@ int wxEntryStart( int& argc, char *argv[] )
}
else
{
g_thread_init(NULL);
if (!g_thread_supported())
g_thread_init(NULL);
}
#endif