git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28015
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (g_isIdle)
wxapp_install_idle_handler();
+#ifdef __WXGTK20__
+ if (win->m_imContext)
+ gtk_im_context_focus_in(win->m_imContext);
+#endif
+
if (!win->m_hasVMT) return FALSE;
if (g_blockEventsOnDrag) return FALSE;
if (g_isIdle)
wxapp_install_idle_handler();
+#ifdef __WXGTK20__
+ if (win->m_imContext)
+ gtk_im_context_focus_out(win->m_imContext);
+#endif
+
if (!win->m_hasVMT) return FALSE;
if (g_blockEventsOnDrag) return FALSE;
if (g_isIdle)
wxapp_install_idle_handler();
+#ifdef __WXGTK20__
+ if (win->m_imContext)
+ gtk_im_context_focus_in(win->m_imContext);
+#endif
+
if (!win->m_hasVMT) return FALSE;
if (g_blockEventsOnDrag) return FALSE;
if (g_isIdle)
wxapp_install_idle_handler();
+#ifdef __WXGTK20__
+ if (win->m_imContext)
+ gtk_im_context_focus_out(win->m_imContext);
+#endif
+
if (!win->m_hasVMT) return FALSE;
if (g_blockEventsOnDrag) return FALSE;