12DIALOG_UPDATE_NOTICE_BASE::DIALOG_UPDATE_NOTICE_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 );
 
   16    wxBoxSizer* bSizerMain;
 
   17    bSizerMain = 
new wxBoxSizer( wxVERTICAL );
 
   19    wxFlexGridSizer* fgSizer4;
 
   20    fgSizer4 = 
new wxFlexGridSizer( 0, 2, 10, 0 );
 
   21    fgSizer4->SetFlexibleDirection( wxBOTH );
 
   22    fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
 
   24    m_icon = 
new wxStaticBitmap( 
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
 
   25    fgSizer4->Add( 
m_icon, 0, wxALL|wxALIGN_CENTER_VERTICAL, 10 );
 
   28    bSizer4 = 
new wxBoxSizer( wxVERTICAL );
 
   30    m_messageLine1 = 
new wxStaticText( 
this, wxID_ANY, 
_(
"A new version of KiCad is available!"), wxDefaultPosition, wxDefaultSize, 0 );
 
   32    m_messageLine1->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, 
false, wxEmptyString ) );
 
   36    m_messageLine2 = 
new wxStaticText( 
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
 
   41    fgSizer4->Add( bSizer4, 1, wxEXPAND|wxRIGHT, 5 );
 
   44    fgSizer4->Add( 0, 0, 1, wxEXPAND, 5 );
 
   47    bSizerMain->Add( fgSizer4, 1, wxEXPAND|wxALL, 5 );
 
   49    wxBoxSizer* bButtonSizer;
 
   50    bButtonSizer = 
new wxBoxSizer( wxHORIZONTAL );
 
   52    m_skipBtn = 
new wxButton( 
this, wxID_ANY, 
_(
"&Skip This Version"), wxDefaultPosition, wxDefaultSize, 0 );
 
   53    m_skipBtn->SetToolTip( 
_(
"Ignores the update notice for the announced new version. Additional update notes will be displayed for newer versions.") );
 
   55    bButtonSizer->Add( 
m_skipBtn, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT|wxTOP, 5 );
 
   58    bButtonSizer->Add( 0, 0, 1, wxEXPAND, 5 );
 
   60    m_btnRemind = 
new wxButton( 
this, wxID_ANY, 
_(
"&Remind Me Later"), wxDefaultPosition, wxDefaultSize, 0 );
 
   61    m_btnRemind->SetToolTip( 
_(
"Close this update notice. The update notice will be shown again when you relaunch KiCad.") );
 
   63    bButtonSizer->Add( 
m_btnRemind, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT|wxTOP, 5 );
 
   65    m_btnDetailsPage = 
new wxButton( 
this, wxID_ANY, 
_(
"&View Details"), wxDefaultPosition, wxDefaultSize, 0 );
 
   66    m_btnDetailsPage->SetToolTip( 
_(
"Launch a web browser to the release announcements page.") );
 
   68    bButtonSizer->Add( 
m_btnDetailsPage, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxTOP, 5 );
 
   70    m_btnDownloadPage = 
new wxButton( 
this, wxID_ANY, 
_(
"Open &Downloads Page"), wxDefaultPosition, wxDefaultSize, 0 );
 
   73    bButtonSizer->Add( 
m_btnDownloadPage, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxTOP, 5 );
 
   76    bSizerMain->Add( bButtonSizer, 0, wxEXPAND|wxLEFT|wxRIGHT, 5 );
 
   79    this->SetSizer( bSizerMain );
 
   81    bSizerMain->Fit( 
this );
 
   83    this->Centre( wxBOTH );