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:
@@ -556,6 +556,7 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id,
|
|||||||
gtk_container_add (GTK_CONTAINER (m_widget), GTK_WIDGET(m_treeview) );
|
gtk_container_add (GTK_CONTAINER (m_widget), GTK_WIDGET(m_treeview) );
|
||||||
|
|
||||||
gtk_widget_show( 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
|
wxListBox::DoInsertItems(wxArrayString(n, choices), 0); // insert initial items
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user