g_main_set_poll_func(x) -> g_main_context_set_poll_func(NULL, x). Former deprecated since glib-2.2. Latter available

since at least glib-2.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp 2006-02-03 20:57:00 +00:00
parent afa7bd1eef
commit 158949492d

View File

@ -419,7 +419,7 @@ wxApp::wxApp()
wxapp_install_idle_handler();
#if wxUSE_THREADS
g_main_set_poll_func( wxapp_poll_func );
g_main_context_set_poll_func( NULL, wxapp_poll_func );
#endif
m_colorCube = (unsigned char*) NULL;