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
3da1b75c
Commit
3da1b75c
authored
Feb 06, 2012
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pcbnew: fix Bug #927293. fix compil issue with wxWidgets 2.9.3
parent
398607a6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
dialog_copper_zones.cpp
pcbnew/dialogs/dialog_copper_zones.cpp
+1
-0
netlist_reader_common.cpp
pcbnew/netlist_reader_common.cpp
+12
-2
No files found.
pcbnew/dialogs/dialog_copper_zones.cpp
View file @
3da1b75c
...
...
@@ -19,6 +19,7 @@
#include <class_zone_settings.h>
#include <class_board.h>
#include <dialog_copper_zones_base.h>
#include <wx/listctrl.h>
...
...
pcbnew/netlist_reader_common.cpp
View file @
3da1b75c
...
...
@@ -189,8 +189,19 @@ void NETLIST_READER::TestFootprintsMatchingAndExchange()
{
#ifdef PCBNEW
for
(
MODULE
*
module
=
m_pcbframe
->
GetBoard
()
->
m_Modules
;
module
;
module
=
module
->
Next
()
)
// If a module is "exchanged", the new module is added to the end of
// module list.
// Calculates the module count
int
moduleCount
=
m_pcbframe
->
GetBoard
()
->
m_Modules
.
GetCount
();
MODULE
*
nextmodule
;
MODULE
*
module
=
m_pcbframe
->
GetBoard
()
->
m_Modules
;
for
(
;
module
&&
moduleCount
;
module
=
nextmodule
,
moduleCount
--
)
{
// Module can be deleted if exchanged, so store the next module.
nextmodule
=
module
->
Next
();
// Search for the corresponding module info
COMPONENT_INFO
*
cmp_info
=
NULL
;
for
(
unsigned
ii
=
0
;
ii
<
m_componentsInNetlist
.
size
();
ii
++
)
...
...
@@ -218,7 +229,6 @@ void NETLIST_READER::TestFootprintsMatchingAndExchange()
{
// Change old module to the new module (and delete the old one)
m_pcbframe
->
Exchange_Module
(
module
,
newModule
,
NULL
);
module
=
newModule
;
}
else
if
(
m_messageWindow
)
{
...
...
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