12PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::PANEL_PCBNEW_DISPLAY_ORIGIN_BASE( wxWindow* parent, wxWindowID 
id, 
const wxPoint& pos, 
const wxSize& size, 
long style, 
const wxString& 
name ) : 
RESETTABLE_PANEL( parent, id, pos, size, style, 
name )
 
   14    wxBoxSizer* bPanelSizer;
 
   15    bPanelSizer = 
new wxBoxSizer( wxHORIZONTAL );
 
   18    bMargins = 
new wxBoxSizer( wxHORIZONTAL );
 
   20    wxBoxSizer* bLeftSizer;
 
   21    bLeftSizer = 
new wxBoxSizer( wxVERTICAL );
 
   25    displayOriginLabel = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Display Origin"), wxDefaultPosition, wxDefaultSize, 0 );
 
   29    m_staticline1 = 
new wxStaticLine( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
 
   33    gSizer1 = 
new wxGridSizer( 0, 1, 4, 0 );
 
   35    m_pageOrigin = 
new wxRadioButton( 
this, wxID_ANY, 
_(
"Page origin"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
 
   38    m_drillPlaceOrigin = 
new wxRadioButton( 
this, wxID_ANY, 
_(
"Drill/place file origin"), wxDefaultPosition, wxDefaultSize, 0 );
 
   41    m_gridOrigin = 
new wxRadioButton( 
this, wxID_ANY, 
_(
"Grid origin"), wxDefaultPosition, wxDefaultSize, 0 );
 
   50    xAxisLabel = 
new wxStaticText( 
this, wxID_ANY, 
_(
"X Axis"), wxDefaultPosition, wxDefaultSize, 0 );
 
   52    bLeftSizer->Add( 
xAxisLabel, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
 
   54    m_staticline2 = 
new wxStaticLine( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
 
   55    bLeftSizer->Add( 
m_staticline2, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
 
   58    gSizer2 = 
new wxGridSizer( 0, 1, 4, 0 );
 
   60    m_xIncreasesRight = 
new wxRadioButton( 
this, wxID_ANY, 
_(
"Increases right"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
 
   63    m_xIncreasesLeft = 
new wxRadioButton( 
this, wxID_ANY, 
_(
"Increases left"), wxDefaultPosition, wxDefaultSize, 0 );
 
   67    bLeftSizer->Add( gSizer2, 0, wxEXPAND|wxALL, 10 );
 
   69    yAxisLabel = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Y Axis"), wxDefaultPosition, wxDefaultSize, 0 );
 
   71    bLeftSizer->Add( 
yAxisLabel, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
 
   73    m_staticline3 = 
new wxStaticLine( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
 
   74    bLeftSizer->Add( 
m_staticline3, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
 
   77    gSizer4 = 
new wxGridSizer( 0, 1, 4, 0 );
 
   79    m_yIncreasesUp = 
new wxRadioButton( 
this, wxID_ANY, 
_(
"Increases up"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
 
   82    m_yIncreasesDown = 
new wxRadioButton( 
this, wxID_ANY, 
_(
"Increases down"), wxDefaultPosition, wxDefaultSize, 0 );
 
   86    bLeftSizer->Add( gSizer4, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 );
 
   89    bMargins->Add( bLeftSizer, 1, wxEXPAND|wxRIGHT, 5 );
 
   91    wxBoxSizer* bRightSizer;
 
   92    bRightSizer = 
new wxBoxSizer( wxVERTICAL );
 
   95    bRightSizer->Add( 0, 0, 1, wxEXPAND, 5 );
 
   98    bMargins->Add( bRightSizer, 1, wxEXPAND|wxRIGHT, 5 );
 
  101    bPanelSizer->Add( bMargins, 1, wxTOP|wxRIGHT, 5 );
 
  104    this->SetSizer( bPanelSizer );
 
  106    bPanelSizer->Fit( 
this );