12PANEL_MAINTENANCE_BASE::PANEL_MAINTENANCE_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    margins = 
new wxBoxSizer( wxVERTICAL );
 
   20    wxBoxSizer* b3DCacheSizer;
 
   21    b3DCacheSizer = 
new wxBoxSizer( wxHORIZONTAL );
 
   23    m_staticTextClear3DCache = 
new wxStaticText( 
this, wxID_ANY, 
_(
"3D cache file duration:"), wxDefaultPosition, wxDefaultSize, 0 );
 
   27    m_Clear3DCacheFilesOlder = 
new wxSpinCtrl( 
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 120, 30 );
 
   28    m_Clear3DCacheFilesOlder->SetToolTip( 
_(
"3D cache files older than this are deleted.\nIf set to 0, cache clearing is disabled") );
 
   32    m_staticTextDays = 
new wxStaticText( 
this, wxID_ANY, 
_(
"days"), wxDefaultPosition, wxDefaultSize, 0 );
 
   37    margins->Add( b3DCacheSizer, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
 
   39    wxBoxSizer* bResetStateSizer;
 
   40    bResetStateSizer = 
new wxBoxSizer( wxVERTICAL );
 
   42    m_clearFileHistory = 
new wxButton( 
this, wxID_ANY, 
_(
"Clear \"Open Recent\" History"), wxDefaultPosition, wxDefaultSize, 0 );
 
   46    bResetStateSizer->Add( 0, 10, 1, wxEXPAND, 5 );
 
   48    m_clearDontShowAgain = 
new wxButton( 
this, wxID_ANY, 
_(
"Reset \"Don't Show Again\" Dialogs"), wxDefaultPosition, wxDefaultSize, 0 );
 
   51    m_clearDialogState = 
new wxButton( 
this, wxID_ANY, 
_(
"Reset All Dialogs to Defaults"), wxDefaultPosition, wxDefaultSize, 0 );
 
   54    m_resetAll = 
new wxButton( 
this, wxID_ANY, 
_(
"Reset All Program Settings to Defaults"), wxDefaultPosition, wxDefaultSize, 0 );
 
   55    bResetStateSizer->Add( 
m_resetAll, 0, wxALL, 5 );
 
   58    margins->Add( bResetStateSizer, 1, wxEXPAND|wxTOP, 10 );
 
   61    bPanelSizer->Add( margins, 0, wxRIGHT|wxLEFT, 5 );
 
   64    this->SetSizer( bPanelSizer );
 
   66    bPanelSizer->Fit( 
this );
 
 
virtual void onClearDontShowAgain(wxCommandEvent &event)
 
wxStaticText * m_staticTextClear3DCache
 
PANEL_MAINTENANCE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
virtual void onClearFileHistory(wxCommandEvent &event)
 
wxSpinCtrl * m_Clear3DCacheFilesOlder
 
virtual void onResetAll(wxCommandEvent &event)
 
virtual void onClearDialogState(wxCommandEvent &event)
 
wxButton * m_clearDontShowAgain
 
wxStaticText * m_staticTextDays