OnLeftClick() test case
This commit is contained in:
parent
b707a8336f
commit
e64d8e523c
|
@ -11,6 +11,7 @@ email address.
|
|||
test case for OnLeftClick() handling from a release circumstance.
|
||||
a few simple changes to void WinEDA_DrawPanel::OnMouseEvent( wxMouseEvent& event ),
|
||||
but they affect all programs in a subtle way.
|
||||
TAB key allow double clicking, but is not needed for block selection.
|
||||
|
||||
+ pcbnew
|
||||
GENERAL_COLLECTOR::GetCount() returns int, not unsigned. Was tired of the
|
||||
|
|
|
@ -90,8 +90,8 @@ void WinEDA_PcbFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
|
|||
}
|
||||
}
|
||||
|
||||
else /* if( !wxGetKeyState(WXK_SHIFT) && !wxGetKeyState(WXK_ALT) &&
|
||||
!wxGetKeyState(WXK_CONTROL) && !wxGetKeyState(WXK_TAB) ) */
|
||||
else if( !wxGetKeyState(WXK_SHIFT) && !wxGetKeyState(WXK_ALT) &&
|
||||
!wxGetKeyState(WXK_CONTROL) && !wxGetKeyState(WXK_TAB) )
|
||||
{
|
||||
DrawStruct = PcbGeneralLocateAndDisplay();
|
||||
if( DrawStruct )
|
||||
|
|
Loading…
Reference in New Issue