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:
Stefan Csomor
2001-02-28 20:48:20 +00:00
parent 10e4dbef5d
commit 7810c95b5d
10 changed files with 293 additions and 44 deletions

View File

@@ -761,10 +761,12 @@ void wxControl::OnMouseEvent( wxMouseEvent &event )
controlpart = FindControl( localwhere , window , &control ) ;
{
/*
if ( AcceptsFocus() && FindFocus() != this )
{
SetFocus() ;
}
*/
if ( control && UMAIsControlActive( control ) )
{
{