Kaydet (Commit) e6ee7bf6 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS vcl50 (1.94.50); FILE MERGED

2005/12/21 11:38:37 pl 1.94.50.1: #i54787# toolbox button highlighting in case of focus in contained control
üst 45f48c3e
......@@ -4,9 +4,9 @@
*
* $RCSfile: toolbox.cxx,v $
*
* $Revision: 1.94 $
* $Revision: 1.95 $
*
* last change: $Author: rt $ $Date: 2005-11-11 11:55:12 $
* last change: $Author: hr $ $Date: 2006-01-25 11:39:52 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -4191,8 +4191,6 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt )
Window *pWin = Application::GetFocusWindow();
if( pWin && pWin->ImplGetWindowImpl()->mbToolBox && pWin != this )
bDrawHotSpot = FALSE;
else if( !HasFocus() && HasChildPathFocus() ) // focus is in our childwindow: no highlight
bDrawHotSpot = FALSE;
/*
else
if( pWin && !pWin->ImplGetWindowImpl()->mbToolBox )
......@@ -4371,7 +4369,7 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt )
// only clear highlight when focus is not in toolbar
BOOL bMenuButtonHit = mpData->maMenubuttonItem.maRect.IsInside( aMousePos );
if ( bClearHigh && !HasChildPathFocus() || bMenuButtonHit )
if ( bClearHigh || bMenuButtonHit )
{
if ( !bMenuButtonHit && mpData->mbMenubuttonSelected )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment