Fix over zealous clean up of user grid dialog in PCBNew.
This commit is contained in:
parent
c2b600ce39
commit
86a40a93c3
|
@ -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
|
||||||
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 )
|
||||||
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 )
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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">-8519680</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 @@
|
||||||
<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 @@
|
||||||
<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>
|
||||||
|
|
Loading…
Reference in New Issue