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
This commit is contained in:
Robert Roebling
2006-09-20 08:08:53 +00:00
parent 0d2d29b16a
commit 0bb3fc29c3

View File

@@ -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