Fix missing function in qa_utils
This commit is contained in:
parent
4646bc0eef
commit
d0f498dd10
|
@ -125,6 +125,14 @@ PGM_BASE& Pgm()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Similar to PGM_BASE& Pgm(), but return nullptr when a *.ki_face
|
||||||
|
// is run from a python script, mot from a Kicad application
|
||||||
|
PGM_BASE* PgmOrNull()
|
||||||
|
{
|
||||||
|
return &program;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
KIFACE_I& Kiface()
|
KIFACE_I& Kiface()
|
||||||
{
|
{
|
||||||
return kiface;
|
return kiface;
|
||||||
|
@ -138,7 +146,6 @@ void BOARD::Print( PCB_BASE_FRAME* aFrame, wxDC* DC, const wxPoint& offset )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DIALOG_FIND::DIALOG_FIND( PCB_BASE_FRAME* aParent ) : DIALOG_FIND_BASE( aParent )
|
DIALOG_FIND::DIALOG_FIND( PCB_BASE_FRAME* aParent ) : DIALOG_FIND_BASE( aParent )
|
||||||
{
|
{
|
||||||
// these members are initialized to avoid warnings about non initialized vars
|
// these members are initialized to avoid warnings about non initialized vars
|
||||||
|
|
Loading…
Reference in New Issue