|
Lines 1147-1153
void WinEDA_DrawPanel::OnMouseEvent( wxM
Link Here
|
| 1147 |
s_IgnoreNextLeftButtonRelease = false; |
1164 |
s_IgnoreNextLeftButtonRelease = false; |
| 1148 |
} |
1165 |
} |
| 1149 |
|
1166 |
|
| 1150 |
if( event.ButtonUp( 2 ) |
1167 |
if( event.ButtonUp( wxMOUSE_BTN_MIDDLE ) |
| 1151 |
&& (screen->m_BlockLocate.m_State == STATE_NO_BLOCK) ) |
1168 |
&& (screen->m_BlockLocate.m_State == STATE_NO_BLOCK) ) |
| 1152 |
{ |
1169 |
{ |
| 1153 |
// The middle button has been released, with no block command: |
1170 |
// The middle button has been released, with no block command: |
|
Lines 1250-1256
void WinEDA_DrawPanel::OnMouseEvent( wxM
Link Here
|
| 1250 |
} |
1267 |
} |
| 1251 |
} |
1268 |
} |
| 1252 |
|
1269 |
|
| 1253 |
if( event.ButtonUp( 1 ) || event.ButtonUp( 2 ) ) |
1270 |
if( event.ButtonUp( wxMOUSE_BTN_LEFT ) || event.ButtonUp( wxMOUSE_BTN_MIDDLE ) ) |
| 1254 |
{ |
1271 |
{ |
| 1255 |
/* Release the mouse button: end of block. |
1272 |
/* Release the mouse button: end of block. |
| 1256 |
* The command can finish (DELETE) or have a next command (MOVE, |
1273 |
* The command can finish (DELETE) or have a next command (MOVE, |