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:
parent
4612a52b50
commit
4bd51b7049
|
@ -158,6 +158,10 @@ void EDA_BASE_FRAME::windowClosing( wxCloseEvent& event )
|
||||||
|
|
||||||
void EDA_BASE_FRAME::removePaneBorder( wxShowEvent& 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
|
// remove the ugly 1-pixel white border on AUI panes
|
||||||
wxAuiPaneInfoArray panes = m_auimgr.GetAllPanes();
|
wxAuiPaneInfoArray panes = m_auimgr.GetAllPanes();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue