Remove EDA_DRAW_FRAME::IsActive() and replace with wxFrame::IsActive().
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
/*
|
||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 2004 Jean-Pierre Charras, [email protected]
|
||||
* Copyright (C) 2008-2011 Wayne Stambaugh <[email protected]>
|
||||
* Copyright (C) 2004-2011 KiCad Developers, see change_log.txt for contributors.
|
||||
* Copyright (C) 2004-2015 Jean-Pierre Charras, [email protected]
|
||||
* Copyright (C) 2008-2015 Wayne Stambaugh <[email protected]>
|
||||
* Copyright (C) 2004-2015 KiCad Developers, see change_log.txt for contributors.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@@ -226,8 +226,6 @@ void EDA_DRAW_FRAME::EraseMsgBox()
|
||||
|
||||
void EDA_DRAW_FRAME::OnActivate( wxActivateEvent& event )
|
||||
{
|
||||
m_FrameIsActive = event.GetActive();
|
||||
|
||||
if( m_canvas )
|
||||
m_canvas->SetCanStartBlock( -1 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user