Try to fix an unwanted left mouse release button event, when closing a dialog on a click or double click,

and therefore when the mouse butoon is released in the parent window
Minor other fixes.
This commit is contained in:
jean-pierre charras
2012-12-06 22:53:00 +01:00
parent c648806703
commit 14fcf7f933
18 changed files with 9463 additions and 9725 deletions
+21
View File
@@ -494,6 +494,27 @@ void MODULE::DisplayInfo( EDA_DRAW_FRAME* frame )
msg.Printf( wxT( "%.1f" ), (float) m_Orient / 10 );
frame->AppendMsgPanel( _( "Orient" ), msg, BROWN );
/* Controls on right side of the dialog */
switch( m_Attributs & 255 )
{
case 0:
msg = _("Normal");
break;
case MOD_CMS:
msg = _("Insert");
break;
case MOD_VIRTUAL:
msg = _("Virtual");
break;
default:
msg = wxT("???");
break;
}
frame->AppendMsgPanel( _( "Attrib" ), msg, BROWN );
frame->AppendMsgPanel( _( "Module" ), m_LibRef, BLUE );
if( m_3D_Drawings != NULL )