Some work on GTK focus handling and events.
Removed some code #ifdeffed for GTK from
wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -354,6 +354,7 @@ void wxPopupWindowHandler::OnLeftDown(wxMouseEvent& event)
|
||||
wxWindow *sbar = NULL;
|
||||
|
||||
wxWindow *win = (wxWindow *)event.GetEventObject();
|
||||
|
||||
switch ( win->HitTest(pos.x, pos.y) )
|
||||
{
|
||||
case wxHT_WINDOW_OUTSIDE:
|
||||
@@ -425,6 +426,7 @@ void wxPopupFocusHandler::OnKillFocus(wxFocusEvent& event)
|
||||
return;
|
||||
win = win->GetParent();
|
||||
}
|
||||
|
||||
m_popup->DismissAndNotify();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user