~fmorgner/kicad/kicad

« back to all changes in this revision

Viewing changes to pcbnew/pcbframe.cpp

  • Committer: Dick Hollenbeck
  • Date: 2011-09-08 05:58:45 UTC
  • mto: This revision was merged to the branch mainline in revision 3112.
  • Revision ID: dick@softplc.com-20110908055845-c0n042fznolvee2e
PNG bitmap support, initial implementation

Show diffs side-by-side

added added

removed removed

Lines of Context:
301
301
    m_DisplayModEdge = DisplayOpt.DisplayModEdge;
302
302
    m_DisplayModText = DisplayOpt.DisplayModText;
303
303
 
304
 
    // Give an icon
305
 
    SetIcon( wxICON( a_icon_pcbnew ) );
 
304
    wxIcon  icon;
 
305
    icon.CopyFromBitmap( KiBitmap( icon_pcbnew_xpm ) );
 
306
 
 
307
    SetIcon( icon );
306
308
 
307
309
    m_InternalUnits = PCB_INTERNAL_UNIT;    // Unites internes = 1/10000 inch
308
310
    SetScreen( ScreenPcb );