git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4861
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (g_isIdle)
wxapp_install_idle_handler();
-#ifdef USE_XIM
+#ifdef HAVE_XIM
if (win->m_ic) return FALSE;
if (!widget) return FALSE;
if (!gdk_im_ready()) return FALSE;
break;
}
-
+
win->m_ic = gdk_ic_new (attr, attrmask);
if (win->m_ic == NULL)
if (GTK_WIDGET_HAS_FOCUS(widget))
gdk_im_begin (win->m_ic, widget->window);
}
- }
#endif
return FALSE;
if (g_isIdle)
wxapp_install_idle_handler();
-#ifdef USE_XIM
+#ifdef HAVE_XIM
if (win->m_ic) return FALSE;
if (!widget) return FALSE;
if (!gdk_im_ready()) return FALSE;
break;
}
-
+
win->m_ic = gdk_ic_new (attr, attrmask);
if (win->m_ic == NULL)
if (GTK_WIDGET_HAS_FOCUS(widget))
gdk_im_begin (win->m_ic, widget->window);
}
- }
#endif
return FALSE;