|
|
|
@ -1,5 +1,5 @@ |
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// C++ code generated with wxFormBuilder (version Jan 13 2017)
|
|
|
|
// C++ code generated with wxFormBuilder (version May 6 2016)
|
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
|
|
@ -32,6 +32,14 @@ DIALOG_MOVE_EXACT_BASE::DIALOG_MOVE_EXACT_BASE( wxWindow* parent, wxWindowID id, |
|
|
|
fgInputSizer->Add( m_xLabel, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5 ); |
|
|
|
|
|
|
|
m_xEntry = new wxTextCtrl( this, wxID_ANY, _("0"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
|
|
#ifdef __WXGTK__
|
|
|
|
if ( !m_xEntry->HasFlag( wxTE_MULTILINE ) ) |
|
|
|
{ |
|
|
|
m_xEntry->SetMaxLength( ); |
|
|
|
} |
|
|
|
#else
|
|
|
|
m_xEntry->SetMaxLength( ); |
|
|
|
#endif
|
|
|
|
fgInputSizer->Add( m_xEntry, 0, wxALL|wxEXPAND, 5 ); |
|
|
|
|
|
|
|
m_xUnit = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
|
|
@ -46,6 +54,14 @@ DIALOG_MOVE_EXACT_BASE::DIALOG_MOVE_EXACT_BASE( wxWindow* parent, wxWindowID id, |
|
|
|
fgInputSizer->Add( m_yLabel, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5 ); |
|
|
|
|
|
|
|
m_yEntry = new wxTextCtrl( this, wxID_ANY, _("0"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
|
|
#ifdef __WXGTK__
|
|
|
|
if ( !m_yEntry->HasFlag( wxTE_MULTILINE ) ) |
|
|
|
{ |
|
|
|
m_yEntry->SetMaxLength( ); |
|
|
|
} |
|
|
|
#else
|
|
|
|
m_yEntry->SetMaxLength( ); |
|
|
|
#endif
|
|
|
|
fgInputSizer->Add( m_yEntry, 0, wxALL|wxEXPAND, 5 ); |
|
|
|
|
|
|
|
m_yUnit = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
|
|
@ -60,6 +76,14 @@ DIALOG_MOVE_EXACT_BASE::DIALOG_MOVE_EXACT_BASE( wxWindow* parent, wxWindowID id, |
|
|
|
fgInputSizer->Add( m_rotLabel, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5 ); |
|
|
|
|
|
|
|
m_rotEntry = new wxTextCtrl( this, wxID_ANY, _("0"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
|
|
#ifdef __WXGTK__
|
|
|
|
if ( !m_rotEntry->HasFlag( wxTE_MULTILINE ) ) |
|
|
|
{ |
|
|
|
m_rotEntry->SetMaxLength( ); |
|
|
|
} |
|
|
|
#else
|
|
|
|
m_rotEntry->SetMaxLength( ); |
|
|
|
#endif
|
|
|
|
fgInputSizer->Add( m_rotEntry, 0, wxALL|wxEXPAND, 5 ); |
|
|
|
|
|
|
|
m_rotUnit = new wxStaticText( this, wxID_ANY, _("deg"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
|
|
@ -86,7 +110,7 @@ DIALOG_MOVE_EXACT_BASE::DIALOG_MOVE_EXACT_BASE( wxWindow* parent, wxWindowID id, |
|
|
|
m_cbOverride = new wxCheckBox( this, wxID_ANY, _("Override default component anchor with:"), wxDefaultPosition, wxDefaultSize, 0 ); |
|
|
|
bAnchorSizer->Add( m_cbOverride, 1, wxALL, 5 ); |
|
|
|
|
|
|
|
wxString m_anchorChoiceChoices[] = { _("top left pad"), _("footprint center") }; |
|
|
|
wxString m_anchorChoiceChoices[] = { _("Top left pad"), _("Footprint center") }; |
|
|
|
int m_anchorChoiceNChoices = sizeof( m_anchorChoiceChoices ) / sizeof( wxString ); |
|
|
|
m_anchorChoice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_anchorChoiceNChoices, m_anchorChoiceChoices, 0 ); |
|
|
|
m_anchorChoice->SetSelection( 0 ); |
|
|
|
|