OnLeftClick() test case

This commit is contained in:
dickelbeck 2007-09-26 20:20:39 +00:00
parent b707a8336f
commit e64d8e523c
2 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,7 @@ email address.
test case for OnLeftClick() handling from a release circumstance. test case for OnLeftClick() handling from a release circumstance.
a few simple changes to void WinEDA_DrawPanel::OnMouseEvent( wxMouseEvent& event ), a few simple changes to void WinEDA_DrawPanel::OnMouseEvent( wxMouseEvent& event ),
but they affect all programs in a subtle way. but they affect all programs in a subtle way.
TAB key allow double clicking, but is not needed for block selection.
+ pcbnew + pcbnew
GENERAL_COLLECTOR::GetCount() returns int, not unsigned. Was tired of the GENERAL_COLLECTOR::GetCount() returns int, not unsigned. Was tired of the

View File

@ -90,8 +90,8 @@ void WinEDA_PcbFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
} }
} }
else /* if( !wxGetKeyState(WXK_SHIFT) && !wxGetKeyState(WXK_ALT) && else if( !wxGetKeyState(WXK_SHIFT) && !wxGetKeyState(WXK_ALT) &&
!wxGetKeyState(WXK_CONTROL) && !wxGetKeyState(WXK_TAB) ) */ !wxGetKeyState(WXK_CONTROL) && !wxGetKeyState(WXK_TAB) )
{ {
DrawStruct = PcbGeneralLocateAndDisplay(); DrawStruct = PcbGeneralLocateAndDisplay();
if( DrawStruct ) if( DrawStruct )