Browse Source

OnLeftClick() test case

pull/1/head
dickelbeck 18 years ago
parent
commit
e64d8e523c
  1. 1
      change_log.txt
  2. 4
      pcbnew/edit.cpp

1
change_log.txt

@ -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

4
pcbnew/edit.cpp

@ -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…
Cancel
Save