Commit 86a40a93 authored by stambaughw's avatar stambaughw

Fix over zealous clean up of user grid dialog in PCBNew.

parent c2b600ce
......@@ -52,10 +52,6 @@ IMPLEMENT_DYNAMIC_CLASS( WinEDA_PcbGridFrame, wxDialog )
BEGIN_EVENT_TABLE( WinEDA_PcbGridFrame, wxDialog )
////@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_EVENT_TABLE()
......@@ -109,7 +105,7 @@ bool WinEDA_PcbGridFrame::Create( wxWindow* parent, wxWindowID id, const wxStrin
void WinEDA_PcbGridFrame::CreateControls()
{
////@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;
......@@ -187,25 +183,7 @@ wxIcon WinEDA_PcbGridFrame::GetIconResource( const wxString& name )
return wxNullIcon;
////@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 )
{
......
......@@ -77,12 +77,6 @@ public:
////@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
////@begin WinEDA_PcbGridFrame member function declarations
......
......@@ -138,7 +138,7 @@
<long name="locked">0</long>
<string name="template-name">""</string>
<bool name="dirty">1</bool>
<long name="makefile-last-written">0</long>
<long name="makefile-last-written">-8519680</long>
<string name="Compiler name">""</string>
<string name="Build mode">"Debug"</string>
<string name="Unicode mode">"ANSI"</string>
......@@ -760,7 +760,6 @@
<long name="locked">0</long>
<string name="created">"26/3/2006"</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>
<long name="proxy-Id value">5100</long>
<string name="proxy-Name">""</string>
......@@ -827,7 +826,6 @@
<long name="locked">0</long>
<string name="created">"26/3/2006"</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>
<long name="proxy-Id value">5101</long>
<string name="proxy-Name">""</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment