SetSelection() in wxNotebook now sets the focus,
SPACE in wxListCtrl now sends Activate in multiple sel mode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -357,6 +357,10 @@ int wxNotebook::SetSelection( int page )
|
||||
int selOld = GetSelection();
|
||||
|
||||
gtk_notebook_set_page( GTK_NOTEBOOK(m_widget), page );
|
||||
|
||||
wxGtkNotebookPage* g_page = GetNotebookPage( page );
|
||||
if (g_page->m_client)
|
||||
g_page->m_client->SetFocus();
|
||||
|
||||
return selOld;
|
||||
}
|
||||
|
Reference in New Issue
Block a user