From 0bb3fc29c316f19db56d2b9cc908d76cb06a3a29 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Wed, 20 Sep 2006 08:08:53 +0000 Subject: [PATCH] Fixed [ 1556843 ] wxGTK FindFocus returns NULL when a wxListBox is focused git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/listbox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index 75a80a78a7..f38d62d070 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -556,6 +556,7 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id, gtk_container_add (GTK_CONTAINER (m_widget), GTK_WIDGET(m_treeview) ); gtk_widget_show( GTK_WIDGET(m_treeview) ); + m_focusWidget = GTK_WIDGET(m_treeview); wxListBox::DoInsertItems(wxArrayString(n, choices), 0); // insert initial items -- 2.47.2