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
3e8f7acd
Commit
3e8f7acd
authored
Feb 10, 2010
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed pcbnew crash
parent
01726010
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
14 deletions
+3
-14
dialog_graphic_items_options.cpp
pcbnew/dialog_graphic_items_options.cpp
+3
-12
dialog_graphic_items_options.h
pcbnew/dialog_graphic_items_options.h
+0
-2
No files found.
pcbnew/dialog_graphic_items_options.cpp
View file @
3e8f7acd
...
...
@@ -93,11 +93,6 @@ void WinEDA_GraphicItemsOptionsDialog::AcceptOptions( wxCommandEvent& event )
}
/*!
* WinEDA_GraphicItemsOptionsDialog type definition
*/
IMPLEMENT_DYNAMIC_CLASS
(
WinEDA_GraphicItemsOptionsDialog
,
wxDialog
)
/*!
* WinEDA_GraphicItemsOptionsDialog event table definition
...
...
@@ -114,15 +109,9 @@ EVT_BUTTON( wxID_CANCEL, WinEDA_GraphicItemsOptionsDialog::OnCancelClick )
END_EVENT_TABLE
()
/*!
* WinEDA_GraphicItemsOptionsDialog constructor
s
* WinEDA_GraphicItemsOptionsDialog constructor
*/
WinEDA_GraphicItemsOptionsDialog
::
WinEDA_GraphicItemsOptionsDialog
()
{
m_BrdSettings
=
m_Parent
->
GetBoard
()
->
GetBoardDesignSettings
();
}
WinEDA_GraphicItemsOptionsDialog
::
WinEDA_GraphicItemsOptionsDialog
(
WinEDA_BasePcbFrame
*
parent
,
wxWindowID
id
,
...
...
@@ -131,6 +120,8 @@ WinEDA_GraphicItemsOptionsDialog::WinEDA_GraphicItemsOptionsDialog(
const
wxSize
&
size
,
long
style
)
{
m_Parent
=
parent
;
m_BrdSettings
=
m_Parent
->
GetBoard
()
->
GetBoardDesignSettings
();
Create
(
parent
,
id
,
caption
,
pos
,
size
,
style
);
}
...
...
pcbnew/dialog_graphic_items_options.h
View file @
3e8f7acd
...
...
@@ -64,14 +64,12 @@
class
WinEDA_GraphicItemsOptionsDialog
:
public
wxDialog
{
DECLARE_DYNAMIC_CLASS
(
WinEDA_GraphicItemsOptionsDialog
)
DECLARE_EVENT_TABLE
()
public
:
BOARD_DESIGN_SETTINGS
*
m_BrdSettings
;
/// Constructors
WinEDA_GraphicItemsOptionsDialog
(
);
WinEDA_GraphicItemsOptionsDialog
(
WinEDA_BasePcbFrame
*
parent
,
wxWindowID
id
=
SYMBOL_WINEDA_GRAPHICITEMSOPTIONSDIALOG_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WINEDA_GRAPHICITEMSOPTIONSDIALOG_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WINEDA_GRAPHICITEMSOPTIONSDIALOG_POSITION
,
const
wxSize
&
size
=
SYMBOL_WINEDA_GRAPHICITEMSOPTIONSDIALOG_SIZE
,
long
style
=
SYMBOL_WINEDA_GRAPHICITEMSOPTIONSDIALOG_STYLE
);
/// Creation
...
...
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