X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9440c3d0e95d3ee506a3190c8b31e82d2c98a719..7b0d5c59ebe9299ee312f4f1adb48189137575e1:/src/gtk/textctrl.cpp diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 680d387243..3cd7d06b2c 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -579,6 +579,8 @@ bool wxTextCtrl::Create( wxWindow *parent, if (!HasFlag(wxNO_BORDER)) gtk_scrolled_window_set_shadow_type( GTK_SCROLLED_WINDOW(m_widget), GTK_SHADOW_IN ); + gtk_widget_add_events( GTK_WIDGET(m_text), GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK ); + GTK_WIDGET_UNSET_FLAGS( m_widget, GTK_CAN_FOCUS ); #else // create our control ...