added new focus behaviour (like MSW) and toolbar fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -761,10 +761,12 @@ void wxControl::OnMouseEvent( wxMouseEvent &event )
|
||||
|
||||
controlpart = FindControl( localwhere , window , &control ) ;
|
||||
{
|
||||
/*
|
||||
if ( AcceptsFocus() && FindFocus() != this )
|
||||
{
|
||||
SetFocus() ;
|
||||
}
|
||||
*/
|
||||
if ( control && UMAIsControlActive( control ) )
|
||||
{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user