beautified
This commit is contained in:
parent
7d8f2fcff0
commit
97898b92aa
|
@ -68,7 +68,7 @@ wxString FFileName;
|
|||
if( adr_lowmem == NULL )
|
||||
{
|
||||
printf( "No Memory, Fatal err Memory alloc\n" );
|
||||
return(FALSE) ;
|
||||
return FALSE;
|
||||
}
|
||||
m_PcbFrame = new WinEDA_PcbFrame( NULL, this, wxT( "PcbNew" ),
|
||||
wxPoint( 0, 0 ), wxSize( 600, 400 ) );
|
||||
|
@ -91,11 +91,10 @@ wxString FFileName;
|
|||
if( !FFileName.IsEmpty() )
|
||||
{
|
||||
wxClientDC dc( m_PcbFrame->DrawPanel );
|
||||
|
||||
m_PcbFrame->DrawPanel->PrepareGraphicContext( &dc );
|
||||
m_PcbFrame->LoadOnePcbFile( FFileName, &dc, FALSE );
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue