Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
97749ed1
Commit
97749ed1
authored
Dec 21, 2012
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eeschema: fix bug 1092864
parent
d919d710
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
19 deletions
+4
-19
edit_bitmap.cpp
eeschema/edit_bitmap.cpp
+4
-11
sch_bitmap.cpp
eeschema/sch_bitmap.cpp
+0
-8
No files found.
eeschema/edit_bitmap.cpp
View file @
97749ed1
/*
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 201
1
jean-pierre.charras
* Copyright (C) 201
1
KiCad Developers, see change_log.txt for contributors.
* Copyright (C) 201
2
jean-pierre.charras
* Copyright (C) 201
2
KiCad Developers, see change_log.txt for contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
...
...
@@ -27,20 +27,12 @@
*/
#include <fctsys.h>
#include <gr_basic.h>
#include <macros.h>
#include <class_drawpanel.h>
#include <trigo.h>
#include <richio.h>
#include <plot_common.h>
#include <wxEeschemaStruct.h>
#include <general.h>
#include <sch_bitmap.h>
#include <dialog_image_editor.h>
#include <algorithm>
static
void
abortMoveBitmap
(
EDA_DRAW_PANEL
*
aPanel
,
wxDC
*
aDC
)
{
...
...
@@ -70,7 +62,8 @@ static void abortMoveBitmap( EDA_DRAW_PANEL* aPanel, wxDC* aDC )
// Never delete existing item, because it can be referenced by an undo/redo command
// Just restore its data
swap
(
*
item
,
*
olditem
);
item
->
SwapData
(
olditem
);
parent
->
SetUndoItem
(
NULL
);
}
screen
->
SetCurItem
(
item
);
...
...
eeschema/sch_bitmap.cpp
View file @
97749ed1
...
...
@@ -27,19 +27,11 @@
*/
#include <fctsys.h>
#include <gr_basic.h>
#include <macros.h>
#include <class_drawpanel.h>
#include <trigo.h>
#include <richio.h>
#include <plot_common.h>
#include <wxEeschemaStruct.h>
#include <general.h>
#include <sch_bitmap.h>
#include <protos.h>
#include <wx/mstream.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment