fixed mouse (and other?) events generation broken by recent changes (patch 1446205)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1061,8 +1061,9 @@ void wxListBox::ApplyToolTip( GtkTooltips *tips, const wxChar *tip )
|
|||||||
|
|
||||||
GtkWidget *wxListBox::GetConnectWidget()
|
GtkWidget *wxListBox::GetConnectWidget()
|
||||||
{
|
{
|
||||||
// return GTK_WIDGET(m_treeview);
|
// the correct widget for listbox events (such as mouse clicks for example)
|
||||||
return m_widget;
|
// is m_treeview, not the parent scrolled window
|
||||||
|
return GTK_WIDGET(m_treeview);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxListBox::IsOwnGtkWindow( GdkWindow *window )
|
bool wxListBox::IsOwnGtkWindow( GdkWindow *window )
|
||||||
|
Reference in New Issue
Block a user