108 wxDialog( parent, -1,
_(
"Complex shape" ), framepos, wxSize( 350, 280 ),
109 wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER )
115 wxBoxSizer* MainBoxSizer =
new wxBoxSizer( wxHORIZONTAL );
116 SetSizer( MainBoxSizer );
117 wxBoxSizer* LeftBoxSizer =
new wxBoxSizer( wxVERTICAL );
118 wxBoxSizer* RightBoxSizer =
new wxBoxSizer( wxVERTICAL );
119 MainBoxSizer->Add( LeftBoxSizer, 0, wxGROW | wxALL, 5 );
120 MainBoxSizer->Add( RightBoxSizer, 0, wxALIGN_CENTER_VERTICAL | wxALL, 5 );
122 wxButton* Button =
new wxButton(
this, wxID_OK,
_(
"OK" ) );
123 RightBoxSizer->Add( Button, 0, wxGROW | wxALL, 5 );
125 Button =
new wxButton(
this, wxID_CANCEL,
_(
"Cancel" ) );
126 RightBoxSizer->Add( Button, 0, wxGROW | wxALL, 5 );
129 _(
"Read Shape Description File..." ) );
130 RightBoxSizer->Add( Button, 0, wxGROW | wxALL, 5 );
132 wxString shapelist[] = {
_(
"Normal" ),
_(
"Symmetrical" ),
_(
"Mirrored" ) };
135 wxDefaultPosition, wxDefaultSize, 3,
143 GetSizer()->SetSizeHints(
this );
wxRadioBox * m_ShapeOptionCtrl
PCB_EDIT_FRAME * m_Parent
Object to edit/enter a size (pair of values for X and Y size ( INCHES or MM ) in dialog boxes.
EDA_SIZE_CTRL * m_SizeCtrl
static std::vector< wxRealPoint > PolyEdges
EDA_UNITS GetUserUnits() const
Return the user units currently in use.