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
4117870f
Commit
4117870f
authored
Aug 19, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cvpcb: fixed a crash when closing the footprint display frame
parent
c1d048ba
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
2012 deletions
+15
-2012
displayframe.cpp
cvpcb/displayframe.cpp
+3
-3
dialog_edit_component_in_lib.pjd
eeschema/dialog_edit_component_in_lib.pjd
+0
-1998
dialog_edit_component_in_lib_base.cpp
eeschema/dialog_edit_component_in_lib_base.cpp
+5
-5
dialog_edit_component_in_lib_base.fbp
eeschema/dialog_edit_component_in_lib_base.fbp
+5
-5
class_board.cpp
pcbnew/class_board.cpp
+2
-1
No files found.
cvpcb/displayframe.cpp
View file @
4117870f
...
@@ -73,11 +73,11 @@ WinEDA_DisplayFrame::WinEDA_DisplayFrame( WinEDA_CvpcbFrame* father,
...
@@ -73,11 +73,11 @@ WinEDA_DisplayFrame::WinEDA_DisplayFrame( WinEDA_CvpcbFrame* father,
WinEDA_DisplayFrame
::~
WinEDA_DisplayFrame
()
WinEDA_DisplayFrame
::~
WinEDA_DisplayFrame
()
/******************************************/
/******************************************/
{
{
delete
GetBoard
();
delete
GetBaseScreen
();
delete
GetBaseScreen
();
SetBaseScreen
(
0
);
SetBaseScreen
(
0
);
delete
GetBoard
();
(
(
WinEDA_CvpcbFrame
*
)
wxGetApp
().
GetTopWindow
()
)
->
DrawFrame
=
NULL
;
(
(
WinEDA_CvpcbFrame
*
)
wxGetApp
().
GetTopWindow
()
)
->
DrawFrame
=
NULL
;
}
}
...
@@ -310,7 +310,7 @@ void WinEDA_DisplayFrame::Show3D_Frame( wxCommandEvent& event )
...
@@ -310,7 +310,7 @@ void WinEDA_DisplayFrame::Show3D_Frame( wxCommandEvent& event )
}
}
/* Virtual fonction needed by the PCB_SCREEN class derived from BASE_SCREEN
/* Virtual fonction needed by the PCB_SCREEN class derived from BASE_SCREEN
* this is a virt
au
l pure function in BASE_SCREEN
* this is a virt
ua
l pure function in BASE_SCREEN
* do nothing in cvpcb
* do nothing in cvpcb
* could be removed later
* could be removed later
*/
*/
...
...
eeschema/dialog_edit_component_in_lib.pjd
deleted
100644 → 0
View file @
c1d048ba
This source diff could not be displayed because it is too large. You can
view the blob
instead.
eeschema/dialog_edit_component_in_lib_base.cpp
View file @
4117870f
...
@@ -161,10 +161,10 @@ DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE( wx
...
@@ -161,10 +161,10 @@ DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE( wx
bRightBoxSizerPanelAlias
=
new
wxBoxSizer
(
wxVERTICAL
);
bRightBoxSizerPanelAlias
=
new
wxBoxSizer
(
wxVERTICAL
);
m_ButtonAddeAlias
=
new
wxButton
(
m_PanelAlias
,
ID_ADD_ALIAS
,
_
(
"Add"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_ButtonAddeAlias
=
new
wxButton
(
m_PanelAlias
,
ID_ADD_ALIAS
,
_
(
"Add"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bRightBoxSizerPanelAlias
->
Add
(
m_ButtonAddeAlias
,
0
,
wxALL
,
5
);
bRightBoxSizerPanelAlias
->
Add
(
m_ButtonAddeAlias
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_ButtonDeleteOneAlias
=
new
wxButton
(
m_PanelAlias
,
ID_DELETE_ONE_ALIAS
,
_
(
"Delete"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_ButtonDeleteOneAlias
=
new
wxButton
(
m_PanelAlias
,
ID_DELETE_ONE_ALIAS
,
_
(
"Delete"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bRightBoxSizerPanelAlias
->
Add
(
m_ButtonDeleteOneAlias
,
0
,
wxALL
,
5
);
bRightBoxSizerPanelAlias
->
Add
(
m_ButtonDeleteOneAlias
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_ButtonDeleteAllAlias
=
new
wxButton
(
m_PanelAlias
,
ID_DELETE_ALL_ALIAS
,
_
(
"Delete All"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_ButtonDeleteAllAlias
=
new
wxButton
(
m_PanelAlias
,
ID_DELETE_ALL_ALIAS
,
_
(
"Delete All"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bRightBoxSizerPanelAlias
->
Add
(
m_ButtonDeleteAllAlias
,
0
,
wxALL
,
5
);
bRightBoxSizerPanelAlias
->
Add
(
m_ButtonDeleteAllAlias
,
0
,
wxALL
,
5
);
...
@@ -195,13 +195,13 @@ DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE( wx
...
@@ -195,13 +195,13 @@ DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE::DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE( wx
bFpFilterRightBoxSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
bFpFilterRightBoxSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
m_buttonAddFpF
=
new
wxButton
(
m_PanelFootprintFilter
,
ID_ADD_FOOTPRINT_FILTER
,
_
(
"Add"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_buttonAddFpF
=
new
wxButton
(
m_PanelFootprintFilter
,
ID_ADD_FOOTPRINT_FILTER
,
_
(
"Add"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bFpFilterRightBoxSizer
->
Add
(
m_buttonAddFpF
,
0
,
wxALL
,
5
);
bFpFilterRightBoxSizer
->
Add
(
m_buttonAddFpF
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_ButtonDeleteOneFootprintFilter
=
new
wxButton
(
m_PanelFootprintFilter
,
ID_DELETE_ONE_FOOTPRINT_FILTER
,
_
(
"Delete"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_ButtonDeleteOneFootprintFilter
=
new
wxButton
(
m_PanelFootprintFilter
,
ID_DELETE_ONE_FOOTPRINT_FILTER
,
_
(
"Delete"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bFpFilterRightBoxSizer
->
Add
(
m_ButtonDeleteOneFootprintFilter
,
0
,
wxALL
,
5
);
bFpFilterRightBoxSizer
->
Add
(
m_ButtonDeleteOneFootprintFilter
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_ButtonDeleteAllFootprintFilter
=
new
wxButton
(
m_PanelFootprintFilter
,
ID_DELETE_ALL_FOOTPRINT_FILTER
,
_
(
"Delete All"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_ButtonDeleteAllFootprintFilter
=
new
wxButton
(
m_PanelFootprintFilter
,
ID_DELETE_ALL_FOOTPRINT_FILTER
,
_
(
"Delete All"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bFpFilterRightBoxSizer
->
Add
(
m_ButtonDeleteAllFootprintFilter
,
0
,
wxALL
,
5
);
bFpFilterRightBoxSizer
->
Add
(
m_ButtonDeleteAllFootprintFilter
,
0
,
wxALL
|
wxEXPAND
,
5
);
bPanelFpFilterBoxSizer
->
Add
(
bFpFilterRightBoxSizer
,
0
,
wxALIGN_CENTER_VERTICAL
,
5
);
bPanelFpFilterBoxSizer
->
Add
(
bFpFilterRightBoxSizer
,
0
,
wxALIGN_CENTER_VERTICAL
,
5
);
...
...
eeschema/dialog_edit_component_in_lib_base.fbp
View file @
4117870f
...
@@ -1511,7 +1511,7 @@
...
@@ -1511,7 +1511,7 @@
<property
name=
"permission"
>
none
</property>
<property
name=
"permission"
>
none
</property>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxButton"
expanded=
"1"
>
<object
class=
"wxButton"
expanded=
"1"
>
<property
name=
"bg"
></property>
<property
name=
"bg"
></property>
...
@@ -1563,7 +1563,7 @@
...
@@ -1563,7 +1563,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxButton"
expanded=
"1"
>
<object
class=
"wxButton"
expanded=
"1"
>
<property
name=
"bg"
></property>
<property
name=
"bg"
></property>
...
@@ -1846,7 +1846,7 @@
...
@@ -1846,7 +1846,7 @@
<property
name=
"permission"
>
none
</property>
<property
name=
"permission"
>
none
</property>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxButton"
expanded=
"1"
>
<object
class=
"wxButton"
expanded=
"1"
>
<property
name=
"bg"
></property>
<property
name=
"bg"
></property>
...
@@ -1898,7 +1898,7 @@
...
@@ -1898,7 +1898,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxButton"
expanded=
"1"
>
<object
class=
"wxButton"
expanded=
"1"
>
<property
name=
"bg"
></property>
<property
name=
"bg"
></property>
...
@@ -1950,7 +1950,7 @@
...
@@ -1950,7 +1950,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxButton"
expanded=
"1"
>
<object
class=
"wxButton"
expanded=
"1"
>
<property
name=
"bg"
></property>
<property
name=
"bg"
></property>
...
...
pcbnew/class_board.cpp
View file @
4117870f
...
@@ -45,7 +45,8 @@ BOARD::BOARD( EDA_BaseStruct* parent, WinEDA_BasePcbFrame* frame ) :
...
@@ -45,7 +45,8 @@ BOARD::BOARD( EDA_BaseStruct* parent, WinEDA_BasePcbFrame* frame ) :
/***************/
/***************/
BOARD
::~
BOARD
()
BOARD
::~
BOARD
()
{
{
m_PcbFrame
->
GetScreen
()
->
ClearUndoRedoList
();
if
(
m_PcbFrame
->
GetScreen
()
)
m_PcbFrame
->
GetScreen
()
->
ClearUndoRedoList
();
while
(
m_ZoneDescriptorList
.
size
()
)
while
(
m_ZoneDescriptorList
.
size
()
)
{
{
...
...
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