14PANEL_COMMON_SETTINGS_BASE::PANEL_COMMON_SETTINGS_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) :
RESETTABLE_PANEL( parent, id, pos, size, style,
name )
16 wxBoxSizer* bPanelSizer;
17 bPanelSizer =
new wxBoxSizer( wxHORIZONTAL );
21 m_staticText20 =
new wxStaticText(
this, wxID_ANY,
_(
"Rendering Engine"), wxDefaultPosition, wxDefaultSize, 0 );
25 m_staticline3 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
35 m_rbAccelerated =
new wxRadioButton(
this, wxID_ANY,
_(
"Accelerated Graphics"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
36 m_rbAccelerated->SetToolTip(
_(
"Hardware-accelerated graphics (recommended)") );
40 m_rbFallback =
new wxRadioButton(
this, wxID_ANY,
_(
"Fallback Graphics"), wxDefaultPosition, wxDefaultSize, 0 );
41 m_rbFallback->SetToolTip(
_(
"Software graphics (for computers which do not support KiCad's hardware acceleration requirements)") );
51 wxGridBagSizer* gbSizer11;
52 gbSizer11 =
new wxGridBagSizer( 0, 6 );
53 gbSizer11->SetFlexibleDirection( wxBOTH );
54 gbSizer11->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
55 gbSizer11->SetEmptyCellSize( wxSize( -1,2 ) );
57 wxStaticText* antialiasingLabel;
58 antialiasingLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Antialiasing:"), wxDefaultPosition, wxDefaultSize, 0 );
59 antialiasingLabel->Wrap( -1 );
60 gbSizer11->Add( antialiasingLabel, wxGBPosition( 2, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
62 wxString m_antialiasingChoices[] = {
_(
"No Antialiasing"),
_(
"Fast Antialiasing"),
_(
"High Quality Antialiasing") };
63 int m_antialiasingNChoices =
sizeof( m_antialiasingChoices ) /
sizeof( wxString );
64 m_antialiasing =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_antialiasingNChoices, m_antialiasingChoices, 0 );
66 gbSizer11->Add(
m_antialiasing, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
69 gbSizer11->AddGrowableCol( 1 );
73 wxBoxSizer* bAntialiasingSizer;
74 bAntialiasingSizer =
new wxBoxSizer( wxVERTICAL );
77 bLeftSizer->Add( bAntialiasingSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
82 m_staticText21 =
new wxStaticText(
this, wxID_ANY,
_(
"Helper Applications"), wxDefaultPosition, wxDefaultSize, 0 );
86 m_staticline2 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
89 wxBoxSizer* bHelperAppsSizer;
90 bHelperAppsSizer =
new wxBoxSizer( wxVERTICAL );
93 bSizer61 =
new wxBoxSizer( wxHORIZONTAL );
95 wxStaticText* textEditorLabel;
96 textEditorLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Text editor:"), wxDefaultPosition, wxDefaultSize, 0 );
97 textEditorLabel->Wrap( -1 );
98 bSizer61->Add( textEditorLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
100 m_textEditorPath =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
107 bHelperAppsSizer->Add( bSizer61, 0, wxTOP|wxRIGHT|wxEXPAND, 5 );
110 bHelperAppsSizer->Add( 0, 4, 0, wxEXPAND, 5 );
114 m_staticTextFileManager =
new wxStaticText(
this, wxID_ANY,
_(
"File manager:"), wxDefaultPosition, wxDefaultSize, 0 );
118 m_textCtrlFileManager =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
125 bHelperAppsSizer->Add( 0, 12, 1, wxEXPAND, 5 );
128 bSizer8 =
new wxBoxSizer( wxVERTICAL );
130 m_defaultPDFViewer =
new wxRadioButton(
this, wxID_ANY,
_(
"System default PDF viewer"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
134 bHelperAppsSizer->Add( bSizer8, 0, wxBOTTOM|wxEXPAND, 2 );
137 bSizer7 =
new wxBoxSizer( wxHORIZONTAL );
139 m_otherPDFViewer =
new wxRadioButton(
this, wxID_ANY,
_(
"Other:"), wxDefaultPosition, wxDefaultSize, 0 );
140 bSizer7->Add(
m_otherPDFViewer, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
142 m_PDFViewerPath =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
149 bHelperAppsSizer->Add( bSizer7, 0, wxBOTTOM|wxRIGHT|wxEXPAND, 5 );
152 bLeftSizer->Add( bHelperAppsSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
157 m_staticText22 =
new wxStaticText(
this, wxID_ANY,
_(
"User Interface"), wxDefaultPosition, wxDefaultSize, 0 );
161 m_staticline1 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
164 wxBoxSizer* bUserInterfaceSizer;
165 bUserInterfaceSizer =
new wxBoxSizer( wxVERTICAL );
167 wxBoxSizer* bSizer14;
168 bSizer14 =
new wxBoxSizer( wxVERTICAL );
170 m_checkBoxIconsInMenus =
new wxCheckBox(
this, wxID_ANY,
_(
"Show icons in menus"), wxDefaultPosition, wxDefaultSize, 0 );
173 m_showScrollbars =
new wxCheckBox(
this, wxID_ANY,
_(
"Show scrollbars in editors"), wxDefaultPosition, wxDefaultSize, 0 );
175 m_showScrollbars->SetToolTip(
_(
"This change takes effect when relaunching the editor.") );
179 m_focusFollowSchPcb =
new wxCheckBox(
this, wxID_ANY,
_(
"Focus follows mouse between schematic and PCB editors"), wxDefaultPosition, wxDefaultSize, 0 );
180 m_focusFollowSchPcb->SetToolTip(
_(
"If the mouse cursor is moved over the canvas of a schematic or PCB editor window, that window is raised.") );
184 m_hotkeyFeedback =
new wxCheckBox(
this, wxID_ANY,
_(
"Show popup indicator when toggling settings with hotkeys"), wxDefaultPosition, wxDefaultSize, 0 );
185 m_hotkeyFeedback->SetToolTip(
_(
"When enabled, certain hotkeys that cycle between settings will show a popup indicator briefly to indicate the change in settings.") );
189 m_gridStriping =
new wxCheckBox(
this, wxID_ANY,
_(
"Use alternating row colors in tables"), wxDefaultPosition, wxDefaultSize, 0 );
190 m_gridStriping->SetToolTip(
_(
"When enabled, use a different color for every other table row") );
195 bUserInterfaceSizer->Add( bSizer14, 0, wxEXPAND, 5 );
197 wxBoxSizer* bSizerIconsTheme;
198 bSizerIconsTheme =
new wxBoxSizer( wxHORIZONTAL );
200 m_stIconTheme =
new wxStaticText(
this, wxID_ANY,
_(
"Icon theme:"), wxDefaultPosition, wxDefaultSize, 0 );
204 m_rbIconThemeLight =
new wxRadioButton(
this, wxID_ANY,
_(
"Light"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
209 m_rbIconThemeDark =
new wxRadioButton(
this, wxID_ANY,
_(
"Dark"), wxDefaultPosition, wxDefaultSize, 0 );
214 m_rbIconThemeAuto =
new wxRadioButton(
this, wxID_ANY,
_(
"Automatic"), wxDefaultPosition, wxDefaultSize, 0 );
216 m_rbIconThemeAuto->SetToolTip(
_(
"Automatically choose light or dark icons based on the system color theme") );
221 bUserInterfaceSizer->Add( bSizerIconsTheme, 0, wxEXPAND|wxTOP, 5 );
223 wxBoxSizer* bSizerToolbarSize;
224 bSizerToolbarSize =
new wxBoxSizer( wxHORIZONTAL );
226 m_stToolbarIconSize =
new wxStaticText(
this, wxID_ANY,
_(
"Toolbar icon size:"), wxDefaultPosition, wxDefaultSize, 0 );
230 m_rbIconSizeSmall =
new wxRadioButton(
this, wxID_ANY,
_(
"Small"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
235 m_rbIconSizeNormal =
new wxRadioButton(
this, wxID_ANY,
_(
"Normal"), wxDefaultPosition, wxDefaultSize, 0 );
240 m_rbIconSizeLarge =
new wxRadioButton(
this, wxID_ANY,
_(
"Large"), wxDefaultPosition, wxDefaultSize, 0 );
246 bUserInterfaceSizer->Add( bSizerToolbarSize, 0, wxEXPAND, 5 );
248 m_scaleFonts =
new wxCheckBox(
this, wxID_ANY,
_(
"Apply icon scaling to fonts"), wxDefaultPosition, wxDefaultSize, 0 );
249 bUserInterfaceSizer->Add(
m_scaleFonts, 0, wxLEFT|wxRIGHT|wxTOP, 5 );
251 m_fontScalingHelp =
new wxStaticText(
this, wxID_ANY,
_(
"(This workaround will improve some GTK HiDPI font scaling issues.)"), wxDefaultPosition, wxDefaultSize, 0 );
259 m_staticTextCanvasScale =
new wxStaticText(
this, wxID_ANY,
_(
"Canvas scale:"), wxDefaultPosition, wxDefaultSize, 0 );
263 m_canvasScaleCtrl =
new wxSpinCtrlDouble(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 100, 0, 1 );
267 m_canvasScaleAuto =
new wxCheckBox(
this, wxID_ANY,
_(
"Automatic"), wxDefaultPosition, wxDefaultSize, 0 );
271 bUserInterfaceSizer->Add(
m_gbUserInterface, 0, wxEXPAND|wxTOP|wxBOTTOM|wxLEFT, 5 );
273 wxBoxSizer* bSizerHighContrast;
274 bSizerHighContrast =
new wxBoxSizer( wxHORIZONTAL );
276 m_highContrastLabel =
new wxStaticText(
this, wxID_ANY,
_(
"High-contrast mode dimming factor:"), wxDefaultPosition, wxDefaultSize, 0 );
278 bSizerHighContrast->Add(
m_highContrastLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
280 m_highContrastCtrl =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
283 m_highContrastUnits =
new wxStaticText(
this, wxID_ANY,
_(
"%"), wxDefaultPosition, wxDefaultSize, 0 );
285 bSizerHighContrast->Add(
m_highContrastUnits, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
288 bUserInterfaceSizer->Add( bSizerHighContrast, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
291 bLeftSizer->Add( bUserInterfaceSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
296 m_staticText251 =
new wxStaticText(
this, wxID_ANY,
_(
"Scaling"), wxDefaultPosition, wxDefaultSize, 0 );
300 m_staticline7 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
304 bPanelSizer->Add(
bLeftSizer, 0, wxRIGHT, 35 );
306 wxBoxSizer* rightSizer;
307 rightSizer =
new wxBoxSizer( wxVERTICAL );
309 m_staticText23 =
new wxStaticText(
this, wxID_ANY,
_(
"Editing"), wxDefaultPosition, wxDefaultSize, 0 );
311 rightSizer->Add(
m_staticText23, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 13 );
313 m_staticline6 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
314 rightSizer->Add(
m_staticline6, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
316 wxBoxSizer* bEditingSizer;
317 bEditingSizer =
new wxBoxSizer( wxVERTICAL );
319 m_warpMouseOnMove =
new wxCheckBox(
this, wxID_ANY,
_(
"Warp mouse to anchor of moved object"), wxDefaultPosition, wxDefaultSize, 0 );
323 m_NonImmediateActions =
new wxCheckBox(
this, wxID_ANY,
_(
"First hotkey selects tool"), wxDefaultPosition, wxDefaultSize, 0 );
324 m_NonImmediateActions->SetToolTip(
_(
"If not checked, hotkeys will immediately perform an action even if the relevant tool was not previously selected.") );
329 rightSizer->Add( bEditingSizer, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
332 rightSizer->Add( 0, 15, 0, wxEXPAND, 5 );
334 m_staticText24 =
new wxStaticText(
this, wxID_ANY,
_(
"Session"), wxDefaultPosition, wxDefaultSize, 0 );
336 rightSizer->Add(
m_staticText24, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 13 );
338 m_staticline5 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
339 rightSizer->Add(
m_staticline5, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
341 wxBoxSizer* bSessionSizer;
342 bSessionSizer =
new wxBoxSizer( wxVERTICAL );
344 m_cbRememberOpenFiles =
new wxCheckBox(
this, wxID_ANY,
_(
"Remember open files for next project launch"), wxDefaultPosition, wxDefaultSize, 0 );
346 m_cbRememberOpenFiles->SetToolTip(
_(
"If checked, launching a project will also launch tools such as the schematic and board editors with previously open files") );
351 bSessionSizer->Add( 0, 5, 0, 0, 5 );
353 wxGridBagSizer* gbSizer1;
354 gbSizer1 =
new wxGridBagSizer( 5, 5 );
355 gbSizer1->SetFlexibleDirection( wxBOTH );
356 gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
357 gbSizer1->SetEmptyCellSize( wxSize( -1,2 ) );
359 m_staticTextautosave =
new wxStaticText(
this, wxID_ANY,
_(
"&Auto save:"), wxDefaultPosition, wxDefaultSize, 0 );
361 gbSizer1->Add(
m_staticTextautosave, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
363 m_SaveTime =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10, 0 );
364 m_SaveTime->SetToolTip(
_(
"Delay after the first change to create a backup file of the board on disk.\nIf set to 0, auto backup is disabled") );
366 gbSizer1->Add(
m_SaveTime, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
368 wxStaticText* minutesLabel;
369 minutesLabel =
new wxStaticText(
this, wxID_ANY,
_(
"minutes"), wxDefaultPosition, wxDefaultSize, 0 );
370 minutesLabel->Wrap( -1 );
371 gbSizer1->Add( minutesLabel, wxGBPosition( 0, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
377 m_fileHistorySize =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 100, 0 );
378 gbSizer1->Add(
m_fileHistorySize, wxGBPosition( 1, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
381 gbSizer1->AddGrowableCol( 1 );
383 bSessionSizer->Add( gbSizer1, 0, wxALL, 5 );
386 rightSizer->Add( bSessionSizer, 0, wxTOP|wxLEFT|wxEXPAND, 5 );
389 rightSizer->Add( 0, 15, 0, wxEXPAND, 5 );
391 m_staticText25 =
new wxStaticText(
this, wxID_ANY,
_(
"Project Backup"), wxDefaultPosition, wxDefaultSize, 0 );
393 rightSizer->Add(
m_staticText25, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 13 );
395 m_staticline4 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
396 rightSizer->Add(
m_staticline4, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
398 wxBoxSizer* bProjectBackupSizer;
399 bProjectBackupSizer =
new wxBoxSizer( wxVERTICAL );
401 wxGridBagSizer* gbSizer3;
402 gbSizer3 =
new wxGridBagSizer( 2, 0 );
403 gbSizer3->SetFlexibleDirection( wxBOTH );
404 gbSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
406 m_cbBackupEnabled =
new wxCheckBox(
this, wxID_ANY,
_(
"Automatically backup projects"), wxDefaultPosition, wxDefaultSize, 0 );
407 m_cbBackupEnabled->SetToolTip(
_(
"Automatically create backup archives of the current project when saving files") );
409 gbSizer3->Add(
m_cbBackupEnabled, wxGBPosition( 0, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT, 5 );
411 m_cbBackupAutosave =
new wxCheckBox(
this, wxID_ANY,
_(
"Create backups when auto save occurs"), wxDefaultPosition, wxDefaultSize, 0 );
412 m_cbBackupAutosave->SetToolTip(
_(
"Create backups when the auto save feature is enabled. If not checked, backups will only be created when you manually save a file.") );
414 gbSizer3->Add(
m_cbBackupAutosave, wxGBPosition( 1, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT, 5 );
416 m_staticText9 =
new wxStaticText(
this, wxID_ANY,
_(
"Maximum backups to keep:"), wxDefaultPosition, wxDefaultSize, 0 );
418 m_staticText9->SetToolTip(
_(
"How many backup files total to keep (set to 0 for no limit)") );
420 gbSizer3->Add(
m_staticText9, wxGBPosition( 2, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 3 );
422 m_backupLimitTotalFiles =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 1000, 0 );
423 gbSizer3->Add(
m_backupLimitTotalFiles, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 3 );
425 m_staticText10 =
new wxStaticText(
this, wxID_ANY,
_(
"Maximum backups per day:"), wxDefaultPosition, wxDefaultSize, 0 );
427 m_staticText10->SetToolTip(
_(
"How many backup files to keep each day (set to 0 for no limit)") );
429 gbSizer3->Add(
m_staticText10, wxGBPosition( 3, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 3 );
431 m_backupLimitDailyFiles =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 1000, 0 );
432 gbSizer3->Add(
m_backupLimitDailyFiles, wxGBPosition( 3, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 3 );
434 m_staticText11 =
new wxStaticText(
this, wxID_ANY,
_(
"Minimum time between backups:"), wxDefaultPosition, wxDefaultSize, 0 );
436 m_staticText11->SetToolTip(
_(
"Number of minutes since the last backup before another will be created the next time you save (set to 0 for no minimum)") );
438 gbSizer3->Add(
m_staticText11, wxGBPosition( 4, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 3 );
440 m_backupMinInterval =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 3600, 0 );
441 gbSizer3->Add(
m_backupMinInterval, wxGBPosition( 4, 1 ), wxGBSpan( 1, 1 ), wxBOTTOM|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL|wxEXPAND, 3 );
443 m_staticText15 =
new wxStaticText(
this, wxID_ANY,
_(
"minutes"), wxDefaultPosition, wxDefaultSize, 0 );
445 gbSizer3->Add(
m_staticText15, wxGBPosition( 4, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 3 );
447 m_staticText16 =
new wxStaticText(
this, wxID_ANY,
_(
"Maximum total backup size:"), wxDefaultPosition, wxDefaultSize, 0 );
449 m_staticText16->SetToolTip(
_(
"If the total size of backup files grows above this limit, old backups will be deleted (set to 0 for no limit)") );
451 gbSizer3->Add(
m_staticText16, wxGBPosition( 5, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 3 );
453 m_backupLimitTotalSize =
new wxSpinCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 1000, 0 );
454 gbSizer3->Add(
m_backupLimitTotalSize, wxGBPosition( 5, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT|wxEXPAND, 3 );
456 m_staticText17 =
new wxStaticText(
this, wxID_ANY,
_(
"MB"), wxDefaultPosition, wxDefaultSize, 0 );
458 gbSizer3->Add(
m_staticText17, wxGBPosition( 5, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxRIGHT, 3 );
461 gbSizer3->AddGrowableCol( 1 );
463 bProjectBackupSizer->Add( gbSizer3, 0, wxALL, 5 );
466 rightSizer->Add( bProjectBackupSizer, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
469 bPanelSizer->Add( rightSizer, 0, wxRIGHT|wxLEFT, 5 );
472 this->SetSizer( bPanelSizer );
474 bPanelSizer->Fit(
this );