set focus to the control when it's clicked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1500,6 +1500,10 @@ void wxGenericCalendarCtrl::OnClick(wxMouseEvent& event)
|
||||
event.Skip();
|
||||
break;
|
||||
}
|
||||
|
||||
// as we don't (always) skip the message, we're not going to receive the
|
||||
// focus on click by default if we don't do it ourselves
|
||||
SetFocus();
|
||||
}
|
||||
|
||||
wxCalendarHitTestResult wxGenericCalendarCtrl::HitTest(const wxPoint& pos,
|
||||
|
||||
Reference in New Issue
Block a user