PCBnew clarify selection menu doesn't highlight individual selection on Windows
(Use Mac solution to disambiguation highlighting on MSW). Fixes: lp:1594029 https://bugs.launchpad.net/kicad/+bug/1594029
This commit is contained in:
parent
a04965c36c
commit
a7cdd94212
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013-2017 CERN
|
* Copyright (C) 2013-2018 CERN
|
||||||
* @author Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
|
* @author Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
|
||||||
* @author Maciej Suminski <maciej.suminski@cern.ch>
|
* @author Maciej Suminski <maciej.suminski@cern.ch>
|
||||||
*
|
*
|
||||||
|
@ -774,9 +774,9 @@ bool TOOL_MANAGER::ProcessEvent( const TOOL_EVENT& aEvent )
|
||||||
{
|
{
|
||||||
auto f = dynamic_cast<EDA_DRAW_FRAME*>( GetEditFrame() );
|
auto f = dynamic_cast<EDA_DRAW_FRAME*>( GetEditFrame() );
|
||||||
|
|
||||||
if( f )
|
if( f )
|
||||||
f->GetGalCanvas()->Refresh(); // fixme: ugly hack, provide a method in TOOL_DISPATCHER.
|
f->GetGalCanvas()->Refresh(); // fixme: ugly hack, provide a method in TOOL_DISPATCHER.
|
||||||
#ifdef __WXMAC__
|
#ifndef __UNIX__
|
||||||
wxTheApp->ProcessPendingEvents(); // required for updating brightening behind a popup menu
|
wxTheApp->ProcessPendingEvents(); // required for updating brightening behind a popup menu
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue