Fixed resize behaviour under certain circumstances.
Disabled GUI threading when using GTK < 1.2.4, better than crashing. Typos corrected. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -558,7 +558,17 @@ void wxApp::CleanUp()
|
||||
int wxEntry( int argc, char *argv[] )
|
||||
{
|
||||
#if wxUSE_THREADS
|
||||
g_thread_init(NULL);
|
||||
/* GTK 1.2 up to version 1.2.3 has broken threads */
|
||||
if ((gtk_major_version == 1) &&
|
||||
(gtk_minor_version == 2) &&
|
||||
(gtk_micro_version < 4))
|
||||
{
|
||||
printf( "wxWindows warning: Disabled GUI threading due to outdated GTK version\n" );
|
||||
}
|
||||
else
|
||||
{
|
||||
g_thread_init(NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
gtk_set_locale();
|
||||
|
Reference in New Issue
Block a user