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
86a40a93
Commit
86a40a93
authored
May 06, 2009
by
stambaughw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix over zealous clean up of user grid dialog in PCBNew.
parent
c2b600ce
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
32 deletions
+2
-32
set_grid.cpp
pcbnew/set_grid.cpp
+1
-23
set_grid.h
pcbnew/set_grid.h
+0
-6
set_grid.pjd
pcbnew/set_grid.pjd
+1
-3
No files found.
pcbnew/set_grid.cpp
View file @
86a40a93
...
@@ -52,10 +52,6 @@ IMPLEMENT_DYNAMIC_CLASS( WinEDA_PcbGridFrame, wxDialog )
...
@@ -52,10 +52,6 @@ IMPLEMENT_DYNAMIC_CLASS( WinEDA_PcbGridFrame, wxDialog )
BEGIN_EVENT_TABLE
(
WinEDA_PcbGridFrame
,
wxDialog
)
BEGIN_EVENT_TABLE
(
WinEDA_PcbGridFrame
,
wxDialog
)
////@begin WinEDA_PcbGridFrame event table entries
////@begin WinEDA_PcbGridFrame event table entries
EVT_BUTTON
(
wxID_OK
,
WinEDA_PcbGridFrame
::
OnOkClick
)
EVT_BUTTON
(
wxID_CANCEL
,
WinEDA_PcbGridFrame
::
OnCancelClick
)
////@end WinEDA_PcbGridFrame event table entries
////@end WinEDA_PcbGridFrame event table entries
END_EVENT_TABLE
()
END_EVENT_TABLE
()
...
@@ -109,7 +105,7 @@ bool WinEDA_PcbGridFrame::Create( wxWindow* parent, wxWindowID id, const wxStrin
...
@@ -109,7 +105,7 @@ bool WinEDA_PcbGridFrame::Create( wxWindow* parent, wxWindowID id, const wxStrin
void
WinEDA_PcbGridFrame
::
CreateControls
()
void
WinEDA_PcbGridFrame
::
CreateControls
()
{
{
////@begin WinEDA_PcbGridFrame content construction
////@begin WinEDA_PcbGridFrame content construction
// Generated by DialogBlocks,
29/04/2009 15:16:09
(unregistered)
// Generated by DialogBlocks,
06/05/2009 13:48:21
(unregistered)
WinEDA_PcbGridFrame
*
itemDialog1
=
this
;
WinEDA_PcbGridFrame
*
itemDialog1
=
this
;
...
@@ -187,25 +183,7 @@ wxIcon WinEDA_PcbGridFrame::GetIconResource( const wxString& name )
...
@@ -187,25 +183,7 @@ wxIcon WinEDA_PcbGridFrame::GetIconResource( const wxString& name )
return
wxNullIcon
;
return
wxNullIcon
;
////@end WinEDA_PcbGridFrame icon retrieval
////@end WinEDA_PcbGridFrame icon retrieval
}
}
/*!
* wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
*/
void
WinEDA_PcbGridFrame
::
OnOkClick
(
wxCommandEvent
&
event
)
{
}
/*!
* wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL
*/
void
WinEDA_PcbGridFrame
::
OnCancelClick
(
wxCommandEvent
&
event
)
{
////@begin wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL in WinEDA_PcbGridFrame.
// Before editing this code, remove the block markers.
event
.
Skip
();
////@end wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL in WinEDA_PcbGridFrame.
}
void
WinEDA_PcbGridFrame
::
SetGridSize
(
const
wxRealPoint
&
grid
)
void
WinEDA_PcbGridFrame
::
SetGridSize
(
const
wxRealPoint
&
grid
)
{
{
...
...
pcbnew/set_grid.h
View file @
86a40a93
...
@@ -77,12 +77,6 @@ public:
...
@@ -77,12 +77,6 @@ public:
////@begin WinEDA_PcbGridFrame event handler declarations
////@begin WinEDA_PcbGridFrame event handler declarations
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
void
OnOkClick
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL
void
OnCancelClick
(
wxCommandEvent
&
event
);
////@end WinEDA_PcbGridFrame event handler declarations
////@end WinEDA_PcbGridFrame event handler declarations
////@begin WinEDA_PcbGridFrame member function declarations
////@begin WinEDA_PcbGridFrame member function declarations
...
...
pcbnew/set_grid.pjd
View file @
86a40a93
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
<long
name=
"locked"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"template-name"
>
""
</string>
<string
name=
"template-name"
>
""
</string>
<bool
name=
"dirty"
>
1
</bool>
<bool
name=
"dirty"
>
1
</bool>
<long
name=
"makefile-last-written"
>
0
</long>
<long
name=
"makefile-last-written"
>
-851968
0
</long>
<string
name=
"Compiler name"
>
""
</string>
<string
name=
"Compiler name"
>
""
</string>
<string
name=
"Build mode"
>
"Debug"
</string>
<string
name=
"Build mode"
>
"Debug"
</string>
<string
name=
"Unicode mode"
>
"ANSI"
</string>
<string
name=
"Unicode mode"
>
"ANSI"
</string>
...
@@ -760,7 +760,6 @@
...
@@ -760,7 +760,6 @@
<long
name=
"locked"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"26/3/2006"
</string>
<string
name=
"created"
>
"26/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbButtonProxy"
</string>
<string
name=
"proxy-type"
>
"wbButtonProxy"
</string>
<string
name=
"event-handler-0"
>
"wxEVT_COMMAND_BUTTON_CLICKED|OnOkClick"
</string>
<string
name=
"proxy-Id name"
>
"wxID_OK"
</string>
<string
name=
"proxy-Id name"
>
"wxID_OK"
</string>
<long
name=
"proxy-Id value"
>
5100
</long>
<long
name=
"proxy-Id value"
>
5100
</long>
<string
name=
"proxy-Name"
>
""
</string>
<string
name=
"proxy-Name"
>
""
</string>
...
@@ -827,7 +826,6 @@
...
@@ -827,7 +826,6 @@
<long
name=
"locked"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"26/3/2006"
</string>
<string
name=
"created"
>
"26/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbButtonProxy"
</string>
<string
name=
"proxy-type"
>
"wbButtonProxy"
</string>
<string
name=
"event-handler-0"
>
"wxEVT_COMMAND_BUTTON_CLICKED|OnCancelClick"
</string>
<string
name=
"proxy-Id name"
>
"wxID_CANCEL"
</string>
<string
name=
"proxy-Id name"
>
"wxID_CANCEL"
</string>
<long
name=
"proxy-Id value"
>
5101
</long>
<long
name=
"proxy-Id value"
>
5101
</long>
<string
name=
"proxy-Name"
>
""
</string>
<string
name=
"proxy-Name"
>
""
</string>
...
...
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