Replace messageBox with assert for non-fatal error.
Fixes: lp:1770505 * https://bugs.launchpad.net/kicad/+bug/1770505
This commit is contained in:
parent
e91e88bfa1
commit
09622a4c9f
|
@ -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…
Reference in New Issue