12DIALOG_DRAW_LAYERS_SETTINGS_BASE::DIALOG_DRAW_LAYERS_SETTINGS_BASE( wxWindow* parent, wxWindowID 
id, 
const wxString& title, 
const wxPoint& pos, 
const wxSize& size, 
long style ) : 
DIALOG_SHIM( parent, id, title, pos, size, style )
 
   14    this->SetSizeHints( wxDefaultSize, wxDefaultSize );
 
   19    bSizer3 = 
new wxBoxSizer( wxHORIZONTAL );
 
   21    m_stLayerNameTitle = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Active layer name:"), wxDefaultPosition, wxDefaultSize, 0 );
 
   25    m_stLayerName = 
new wxStaticText( 
this, wxID_ANY, 
_(
"dummy"), wxDefaultPosition, wxDefaultSize, 0 );
 
   32    wxFlexGridSizer* fgSizer;
 
   33    fgSizer = 
new wxFlexGridSizer( 3, 3, 0, 0 );
 
   34    fgSizer->AddGrowableCol( 1 );
 
   35    fgSizer->SetFlexibleDirection( wxBOTH );
 
   36    fgSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
 
   38    m_stOffsetX = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Offset X:"), wxDefaultPosition, wxDefaultSize, 0 );
 
   40    fgSizer->Add( 
m_stOffsetX, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
 
   42    m_tcOffsetX = 
new wxTextCtrl( 
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
 
   45    m_stUnitX = 
new wxStaticText( 
this, wxID_ANY, 
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
 
   47    fgSizer->Add( 
m_stUnitX, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
 
   49    m_stOffsetY = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Offset Y:"), wxDefaultPosition, wxDefaultSize, 0 );
 
   51    fgSizer->Add( 
m_stOffsetY, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
 
   53    m_tcOffsetY = 
new wxTextCtrl( 
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
 
   56    m_stUnitY = 
new wxStaticText( 
this, wxID_ANY, 
_(
"mm"), wxDefaultPosition, wxDefaultSize, 0 );
 
   58    fgSizer->Add( 
m_stUnitY, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
 
   60    m_stLayerRot = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Rotate counterclockwise:"), wxDefaultPosition, wxDefaultSize, 0 );
 
   62    fgSizer->Add( 
m_stLayerRot, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
 
   64    m_tcRotation = 
new wxTextCtrl( 
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
 
   67    m_stUnitRot = 
new wxStaticText( 
this, wxID_ANY, 
_(
"dummy"), wxDefaultPosition, wxDefaultSize, 0 );
 
   69    fgSizer->Add( 
m_stUnitRot, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
 
   74    m_staticline1 = 
new wxStaticLine( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
 
   77    wxString m_rbScopeChoices[] = { 
_(
"Active layer"), 
_(
"All layers"), 
_(
"All visible layers") };
 
   78    int m_rbScopeNChoices = 
sizeof( m_rbScopeChoices ) / 
sizeof( wxString );
 
   79    m_rbScope = 
new wxRadioBox( 
this, wxID_ANY, 
_(
"Scope"), wxDefaultPosition, wxDefaultSize, m_rbScopeNChoices, m_rbScopeChoices, 1, wxRA_SPECIFY_COLS );
 
   83    m_staticline2 = 
new wxStaticLine( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
 
   86    wxBoxSizer* bottomButtonsSizer;
 
   87    bottomButtonsSizer = 
new wxBoxSizer( wxHORIZONTAL );
 
   99    m_namiSizer->Add( bottomButtonsSizer, 0, wxLEFT|wxEXPAND, 5 );