~pierre-parent-k/kicad/length-tunning

« back to all changes in this revision

Viewing changes to eeschema/sheet.cpp

  • Committer: Pierre Parent
  • Date: 2014-07-06 10:32:13 UTC
  • mfrom: (4798.1.179 kicad)
  • Revision ID: pierre.parent@insa-rouen.fr-20140706103213-wjsdy0hc9q6wbz5v
Merge with lp:kicad 4977

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 */
28
28
 
29
29
#include <fctsys.h>
30
 
//#include <gr_basic.h>
31
30
#include <class_drawpanel.h>
32
31
#include <confirm.h>
33
32
#include <wxEeschemaStruct.h>
34
33
#include <base_units.h>
35
34
 
36
 
//#include <general.h>
37
35
#include <sch_sheet.h>
38
36
 
39
37
#include <dialogs/dialog_sch_sheet_props.h>
285
283
    SCH_SCREEN* screen = (SCH_SCREEN*) aPanel->GetScreen();
286
284
    SCH_ITEM*   item = screen->GetCurItem();
287
285
 
288
 
    SCH_EDIT_FRAME* parent = ( SCH_EDIT_FRAME* ) aPanel->GetParent();
 
286
    SCH_EDIT_FRAME* parent = (SCH_EDIT_FRAME*) aPanel->GetParent();
289
287
 
290
288
    if( (item == NULL) || (item->Type() != SCH_SHEET_T) || (parent == NULL) )
291
289
        return;