Fixed EDA_BASE_FRAME::removePaneBorder() for classes not using AUI

Fixes: lp:1720386
* https://bugs.launchpad.net/kicad/+bug/1720386

Fixes: lp:1720388
* https://bugs.launchpad.net/kicad/+bug/1720388

Fixes: lp:1720389
* https://bugs.launchpad.net/kicad/+bug/1720389
This commit is contained in:
Maciej Suminski 2017-09-29 17:06:40 +02:00
parent 4612a52b50
commit 4bd51b7049
1 changed files with 4 additions and 0 deletions

View File

@ -158,6 +158,10 @@ void EDA_BASE_FRAME::windowClosing( wxCloseEvent& event )
void EDA_BASE_FRAME::removePaneBorder( wxShowEvent& event )
{
// nothing to be set
if( !m_auimgr.GetManagedWindow() )
return;
// remove the ugly 1-pixel white border on AUI panes
wxAuiPaneInfoArray panes = m_auimgr.GetAllPanes();