Loading pcbnew/pcbnew.cpp +65 −66 Original line number Original line Diff line number Diff line Loading @@ -68,7 +68,7 @@ wxString FFileName; if( adr_lowmem == NULL ) if( adr_lowmem == NULL ) { { printf( "No Memory, Fatal err Memory alloc\n" ); printf( "No Memory, Fatal err Memory alloc\n" ); return(FALSE) ; return FALSE; } } m_PcbFrame = new WinEDA_PcbFrame( NULL, this, wxT( "PcbNew" ), m_PcbFrame = new WinEDA_PcbFrame( NULL, this, wxT( "PcbNew" ), wxPoint( 0, 0 ), wxSize( 600, 400 ) ); wxPoint( 0, 0 ), wxSize( 600, 400 ) ); Loading @@ -91,11 +91,10 @@ wxString FFileName; if( !FFileName.IsEmpty() ) if( !FFileName.IsEmpty() ) { { wxClientDC dc( m_PcbFrame->DrawPanel ); wxClientDC dc( m_PcbFrame->DrawPanel ); m_PcbFrame->DrawPanel->PrepareGraphicContext( &dc ); m_PcbFrame->DrawPanel->PrepareGraphicContext( &dc ); m_PcbFrame->LoadOnePcbFile( FFileName, &dc, FALSE ); m_PcbFrame->LoadOnePcbFile( FFileName, &dc, FALSE ); } } return TRUE; return TRUE; } } Loading
pcbnew/pcbnew.cpp +65 −66 Original line number Original line Diff line number Diff line Loading @@ -68,7 +68,7 @@ wxString FFileName; if( adr_lowmem == NULL ) if( adr_lowmem == NULL ) { { printf( "No Memory, Fatal err Memory alloc\n" ); printf( "No Memory, Fatal err Memory alloc\n" ); return(FALSE) ; return FALSE; } } m_PcbFrame = new WinEDA_PcbFrame( NULL, this, wxT( "PcbNew" ), m_PcbFrame = new WinEDA_PcbFrame( NULL, this, wxT( "PcbNew" ), wxPoint( 0, 0 ), wxSize( 600, 400 ) ); wxPoint( 0, 0 ), wxSize( 600, 400 ) ); Loading @@ -91,11 +91,10 @@ wxString FFileName; if( !FFileName.IsEmpty() ) if( !FFileName.IsEmpty() ) { { wxClientDC dc( m_PcbFrame->DrawPanel ); wxClientDC dc( m_PcbFrame->DrawPanel ); m_PcbFrame->DrawPanel->PrepareGraphicContext( &dc ); m_PcbFrame->DrawPanel->PrepareGraphicContext( &dc ); m_PcbFrame->LoadOnePcbFile( FFileName, &dc, FALSE ); m_PcbFrame->LoadOnePcbFile( FFileName, &dc, FALSE ); } } return TRUE; return TRUE; } }