Browse Source

Replace messageBox with assert for non-fatal error.

Fixes: lp:1770505
* https://bugs.launchpad.net/kicad/+bug/1770505
pull/17/head
Jeff Young 8 years ago
parent
commit
09622a4c9f
  1. 3
      include/class_board_item.h

3
include/class_board_item.h

@ -233,7 +233,8 @@ public:
*/
virtual void Move( const wxPoint& aMoveVector )
{
wxMessageBox( wxT( "virtual BOARD_ITEM::Move used, should not occur" ), GetClass() );
wxFAIL_MSG( wxString::Format( wxT( "virtual BOARD_ITEM::Move called for %s" ),
GetClass() ) );
}
void Move( const VECTOR2I& aMoveVector )

Loading…
Cancel
Save