mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Re-add PGInit call
This commit is contained in:
parent
9f551bfbf8
commit
234cda4197
@ -417,6 +417,10 @@ bool PGM_BASE::InitPgm( bool aHeadless, bool aSkipPyInit, bool aIsUnitTest )
|
||||
|
||||
wxInitAllImageHandlers();
|
||||
|
||||
// Without this the wxPropertyGridManager segfaults on Windows.
|
||||
if( !wxPGGlobalVars )
|
||||
wxPGInitResourceModule();
|
||||
|
||||
#ifndef __WINDOWS__
|
||||
if( wxString( wxGetenv( "HOME" ) ).IsEmpty() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user