Set appropriate parent for new directory checkbox

Fixes: lp:1754731
* https://bugs.launchpad.net/kicad/+bug/1754731
This commit is contained in:
Jon Evans 2018-03-25 10:25:29 -04:00
parent bfe9eff878
commit c6e6134ebd
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ public:
DIR_CHECKBOX( wxWindow* aParent )
: wxPanel( aParent )
{
m_cbCreateDir = new wxCheckBox( aParent, wxID_ANY,
m_cbCreateDir = new wxCheckBox( this, wxID_ANY,
_( "Create a new directory for the project" ) );
m_cbCreateDir->SetValue( true );