Removed most of the checkboxes from the dialogs.

Replaced wxvbam.xrc with the individual xrc files.
This commit is contained in:
skidau 2015-05-04 13:45:52 +00:00
parent 23c1096934
commit 54a768e6bc
14 changed files with 32 additions and 6842 deletions

View File

@ -74,11 +74,9 @@ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/wxvbam.xpm DESTINATION ${CMAKE_CURRE
# wxrc does not support xrs files in -c output (> 10x compression)
# so do it manually using slow but portable bin2c.cmake script
ADD_CUSTOM_COMMAND(OUTPUT wxvbam.xrs
# doing this in its own dir prevents name prefixes
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/wxvbam.xrc wxvbam.xrc
COMMAND wxrc wxvbam.xrc -o wxvbam.xrs
COMMAND wxrc xrc/*.xrc -o wxvbam.xrs
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS wxvbam.xrc)
DEPENDS xrc/*.xrc)
ADD_CUSTOM_COMMAND(OUTPUT builtin-xrc.h
COMMAND ${CMAKE_COMMAND} -DINFILE=wxvbam.xrs -DOUTFILE=builtin-xrc.h -DVARNAME=builtin_xrs -P ${CMAKE_CURRENT_SOURCE_DIR}/bin2c.cmake
DEPENDS wxvbam.xrs)

View File

@ -1863,9 +1863,6 @@ EVT_HANDLER(GameBoyConfigure, "Game Boy options...")
break;
}
// this value might have been overwritten by FrameSkip
if(XRCCTRL(*dlg, "FrameSkipAuto", wxCheckBox)->GetValue())
gbFrameSkip = -1;
update_opts();
if(panel->game_type() == IMAGE_GB) {
if(borderon != gbBorderOn) {
if(gbBorderOn) {
@ -1889,6 +1886,7 @@ EVT_HANDLER(GameBoyConfigure, "Game Boy options...")
if(gopts.gbprint)
gbSerialFunction = gbPrinterSend;
}
update_opts();
}
EVT_HANDLER(GameBoyAdvanceConfigure, "Game Boy Advance options...")
@ -1931,21 +1929,11 @@ EVT_HANDLER(GameBoyAdvanceConfigure, "Game Boy Advance options...")
}
if(ShowModal(dlg) != wxID_OK)
return;
// this value might have been overwritten by FrameSkip
if(XRCCTRL(*dlg, "FrameSkipAuto", wxCheckBox)->GetValue())
frameSkip = -1;
update_opts();
if(panel->game_type() == IMAGE_GBA) {
// autoskip will self-adjust
if(frameSkip >= 0)
systemFrameSkip = frameSkip;
agbPrintEnable(agbPrint);
#if 0 // disabled in win32 version for undocumented "problems"
if(gopts.skip_intro)
*((u32 *)rom) = 0xea00002e;
else
*((u32 *)rom) = /* original value */;
#endif
wxString s = wxString((const char *)&rom[0xac], wxConvLibc, 4);
wxFileConfig *cfg = wxGetApp().overrides;
bool chg;
@ -2038,6 +2026,7 @@ EVT_HANDLER(GameBoyAdvanceConfigure, "Game Boy Advance options...")
fos.Commit();
}
}
update_opts();
}
EVT_HANDLER_MASK(DisplayConfigure, "Display options...", CMDEN_NREC_ANY)
@ -2056,8 +2045,6 @@ EVT_HANDLER_MASK(DisplayConfigure, "Display options...", CMDEN_NREC_ANY)
wxDialog *dlg = GetXRCDialog("DisplayConfig");
if(ShowModal(dlg) != wxID_OK)
return;
update_opts();
if(fs != fullScreen)
{
panel->ShowFullScreen(fullScreen);
@ -2073,6 +2060,7 @@ EVT_HANDLER_MASK(DisplayConfigure, "Display options...", CMDEN_NREC_ANY)
panel->panel->Delete();
panel->panel = NULL;
}
update_opts();
}
EVT_HANDLER_MASK(ChangeFilter, "Change Pixel Filter", CMDEN_NREC_ANY)
@ -2109,7 +2097,6 @@ EVT_HANDLER_MASK(SoundConfigure, "Sound options...", CMDEN_NREC_ANY)
wxDialog *dlg = GetXRCDialog("SoundConfig");
if(ShowModal(dlg) != wxID_OK)
return;
update_opts();
switch(panel->game_type()) {
case IMAGE_UNKNOWN:
return;
@ -2137,6 +2124,7 @@ EVT_HANDLER_MASK(SoundConfigure, "Sound options...", CMDEN_NREC_ANY)
soundInit();
}
soundSetVolume((float)gopts.sound_vol / 100.0);
update_opts();
}
EVT_HANDLER(EmulatorDirectories, "Directories...")

View File

@ -2766,8 +2766,6 @@ bool MainFrame::BindControls()
sc->SetValidator(wxGenericValidator(&o)); \
} while(0)
{
getcbi("PauseWhenInactive", pauseWhenInactive);
getcbi("ApplyPatches", autoPatch);
getrbi("PNG", captureFormat, 0);
getrbi("BMP", captureFormat, 1);
getsc("RewindInterval", gopts.rewind_interval);
@ -2821,32 +2819,25 @@ bool MainFrame::BindControls()
// in command handler. Plus making changes might require resizing
// game area. Validation only here.
SafeXRCCTRL<wxChoice>(d, "Borders");
getcbbe("Printer", gopts.gbprint);
getcbb("PrintGather", gopts.print_auto_page);
addbe(cb);
getcbb("PrintSnap", gopts.print_screen_cap);
addbe(cb);
/// Speed
// AutoSkip/FrameSkip are 2 controls for 1 value. Needs post-process
// to ensure checkbox not ignored
getcbie("FrameSkipAuto", gbFrameSkip, -1);
getcbie("FrameSkipAuto", autoFrameSkip, -1);
getsc("FrameSkip", gbFrameSkip);
addbier(sc, true);
getlab("FrameSkipLab");
addbier(lab, true);
/// Boot ROM
getcbie("BootRomEn", useBiosFileGB, 1);
getfp("BootRom", gopts.gb_bios);
addbe(fp);
getlab("BootRomLab");
addbe(lab);
getcbie("CBootRomEn", useBiosFileGBC, 1);
getfp("CBootRom", gopts.gbc_bios);
addbe(fp);
getlab("CBootRomLab");
addbe(lab);
/// Custom Colors
getcbi("Color", gbColorOption);
//getcbi("Color", gbColorOption);
wxFarRadio *r = NULL;
for (int i = 0; i < 3; i++) {
wxString pn;
@ -2907,25 +2898,21 @@ bool MainFrame::BindControls()
d->Connect(XRCID("Detect"), wxEVT_COMMAND_BUTTON_CLICKED,
wxCommandEventHandler(BatConfig_t::Detect),
NULL, &BatConfigHandler);
getcbi("RTC", rtcEnabled);
getcbi("AGBPrinter", agbPrint);
/// Speed
// AutoSkip/FrameSkip are 2 controls for 1 value. Needs post-process
// to ensure checkbox not ignored
getcbie("FrameSkipAuto", autoFrameSkip, -1);
//getcbie("FrameSkipAuto", autoFrameSkip, -1);
getsc("FrameSkip", frameSkip);
addbier(sc, true);
getlab("FrameSkipLab");
addbier(lab, true);
/// Boot ROM
getcbie("BootRomEn", useBiosFileGBA, 1);
getfp("BootRom", gopts.gba_bios);
addbe(fp);
getlab("BootRomLab");
addbe(lab);
getcbi("SkipIntro", skipBios);
/// Game Overrides
getgbaw("GameSettings");
@ -2942,19 +2929,14 @@ bool MainFrame::BindControls()
{
/// On-Screen Display
ch = GetValidatedChild<wxChoice, wxGenericValidator>(d, "SpeedIndicator", wxGenericValidator(&showSpeed));
getcbi("NoStatusMsg", disableStatusMessages);
getcbi("Transparent", showSpeedTransparent);
/// Zoom
// this was a choice, but I'd rather not have to make an off-by-one
// validator just for this, and spinctrl is good enough.
getsc("DefaultScale", gopts.video_scale);
getcbb("RetainAspect", gopts.retain_aspect);
getsc("MaxScale", maxScale);
// fs modes should be filled in at popup time
// since they may change based on what screen is current
SafeXRCCTRL<wxChoice>(d, "FullscreenMode");
getcbi("Fullscreen", fullScreen);
/// Advanced
getrbi("OutputSimple", gopts.render_method, RND_SIMPLE);
@ -2970,20 +2952,6 @@ bool MainFrame::BindControls()
#if !defined(__WXMSW__) || defined(NO_D3D) || 1 // not implemented
rb->Hide();
#endif
getcbb("Bilinear", gopts.bilinear);
getcbi("VSync", vsync);
// FIXME: make cb disabled when not GL or d3d
int mthr = wxThread::GetCPUCount();
if (mthr > 8)
mthr = 8;
if (mthr < 0)
mthr = 2;
cb = SafeXRCCTRL<wxCheckBox>(d, "Multithread");
cb->SetValidator(wxBoolIntValidator(&gopts.max_threads, mthr));
if (mthr <= 1)
cb->Hide();
getcbi("MMX", disableMMX);
//cb->Hide();
ch = GetValidatedChild<wxChoice, wxGenericValidator>(d, "Filter", wxGenericValidator(&gopts.filter));
// these two are filled and/or hidden at dialog load time
wxControl *pll;
@ -3048,7 +3016,6 @@ bool MainFrame::BindControls()
#ifndef __WXMSW__
cb->Hide();
#endif
getcbi("SyncGameAudio", synchronize);
getsl("Buffers", gopts.audio_buffers);
sound_config_handler.bufs = sl;
getlab("BuffersInfo");
@ -3062,17 +3029,13 @@ bool MainFrame::BindControls()
sound_config_handler.AdjustFrames(10);
/// Game Boy
getcbb("GBDeclicking", gopts.gb_declick);
getcbbe("GBEnhanceSound", gb_effects_config.enabled);
wxPanel *p;
p = SafeXRCCTRL<wxPanel>(d, "GBEnhanceSoundDep");
addbe(p);
getcbb("GBSurround", gb_effects_config.surround);
getsl("GBEcho", gopts.gb_echo);
getsl("GBStereo", gopts.gb_stereo);
/// Game Boy Advance
getcbb("GBASoundInterpolation", soundInterpolation);
getsl("GBASoundFiltering", gopts.gba_sound_filter);
d->Fit();
}

View File

@ -136,7 +136,7 @@ opt_desc opts[] = {
L"simple2x|simple3x|hq3x|simple4x|hq4x|xbrz2x|xbrz3x|xbrz4x|xbrz5x|plugin")),
STROPT ("Display/FilterPlugin", "", wxTRANSLATE("Filter plugin library"), gopts.filter_plugin),
ENUMOPT("Display/IFB", "", wxTRANSLATE("Interframe blending function"), gopts.ifb, wxTRANSLATE("none|smart|motionblur")),
INTOPT ("Display/MaxThreads", "", wxTRANSLATE("Maximum number of threads to run filters in"), gopts.max_threads, 1, 8),
INTOPT ("Display/MaxThreads", "Multithread", wxTRANSLATE("Maximum number of threads to run filters in"), gopts.max_threads, 1, 8),
#ifdef __WXMSW__
ENUMOPT("Display/RenderMethod", "", wxTRANSLATE("Render method; if unsupported, simple method will be used"), gopts.render_method, wxTRANSLATE("simple|opengl|cairo|direct3d")),
#else

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="AccelConfig">
<title>Key Shortcuts</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="DirectoriesConfig">
<title>Directories</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="DisplayConfig">
<title>Display settings</title>
<title>Display settings</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
@ -40,20 +40,6 @@
<orient>wxVERTICAL</orient>
</object>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="NoStatusMsg">
<label>Disable status messages</label>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Transparent">
<label>Transparent status and speed</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
</object>
<label>On-Screen Display</label>
@ -83,13 +69,6 @@
<orient>wxHORIZONTAL</orient>
</object>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="RetainAspect">
<label>Retain aspect ratio</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
@ -142,13 +121,6 @@
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Fullscreen">
<label>Full screen at startup</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
@ -210,26 +182,6 @@
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxCheckBox" name="Bilinear">
<label>Bilinear scaling filter</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<cols>2</cols>
<object class="sizeritem">
<object class="wxCheckBox" name="VSync">
<label>Wait for VSync</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
<object class="sizeritem">
@ -244,20 +196,6 @@
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxCheckBox" name="MMX">
<label>Enable MMX</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Multithread">
<label>Enable multithreading</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GameBoyAdvanceConfig">
<title>Game Boy Advance settings</title>
<title>Game Boy Advance settings</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
@ -72,20 +72,6 @@
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="RTC">
<label>Enable real-time clock</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AGBPrinter">
<label>Enable AGB Printer</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
</object>
<label>System and peripherals</label>
@ -107,13 +93,6 @@
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="FrameSkipAuto">
<label>Enable _automatic frame skipping</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
@ -151,13 +130,6 @@
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxCheckBox" name="BootRomEn">
<label>Use a bios file</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
@ -181,13 +153,6 @@
</object>
</object>
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="SkipIntro">
<label>Skip BIOS intro</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GameBoyConfig">
<title>GameBoy settings</title>
<title>GameBoy settings</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
@ -67,34 +67,6 @@
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Printer">
<label>Emulate a Game Boy _Printer</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="PrintGather">
<label>Automatically _gather entire printed page</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="PrintSnap">
<label>Automatically _save printouts as snapshots</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Color">
<label>Emulate gameboy washed colors</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
</object>
<label>System and Peripherals</label>
@ -158,13 +130,6 @@
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="BootRomEn">
<label>Use a _Game Boy boot ROM file</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<object class="wxBoxSizer">
@ -187,19 +152,12 @@
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="CBootRomEn">
<label>Use a _Color Game Boy boot ROM file</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxStaticText" name="CBootRomLab">
<label>Boot ROM _file :</label>
<label>GBC Boot ROM _file :</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GeneralConfig">
<title>General settings</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
@ -18,20 +19,6 @@
<border>5</border>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="PauseWhenInactive">
<label>Pause when _inactive</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="ApplyPatches">
<label>_Auto-apply IPS/UPS/PPF patches</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="LinkConfig">
<title>Link configuration</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">

View File

@ -309,10 +309,18 @@
<object class="wxMenuItem" name="DisplayConfigure">
<label>_Configure ...</label>
</object>
<object class="wxMenuItem" name="Fullscreen">
<label>_Fullscreen mode</label>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="Bilinear">
<label>_Bilinear filter</label>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="Multithread">
<label>_Multithread filter</label>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="RetainAspect">
<label>_Retain aspect ratio</label>
<checkable>1</checkable>
@ -325,10 +333,6 @@
<label>_Transparent on-screen messages</label>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="Fullscreen">
<label>_Fullscreen mode</label>
<checkable>1</checkable>
</object>
</object>
<object class="wxMenu">
<label>_Audio</label>
@ -340,13 +344,17 @@
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="GBEnhanceSound">
<label>_GB sound effects</label>
<label>_GB sound enhancement</label>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="GBSurround">
<label>_GB surround sound effect</label>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="GBDeclicking">
<label>_GB sound declicking</label>
<checkable>1</checkable>
</object>
</object>
<object class="wxMenu">
<label>_Input</label>
@ -420,10 +428,6 @@
<label>_Save printouts as screen captures</label>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="GBDeclicking">
<label>_GB sound declicking</label>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="CBootRomEn">
<label>_Use GBC BIOS file</label>
<checkable>1</checkable>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="SoundConfig">
<title>Sound Settings</title>
<title>Sound Settings</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
@ -156,13 +156,6 @@
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="SyncGameAudio">
<label>_Sync game to audio</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
@ -201,32 +194,10 @@
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="GBDeclicking">
<label>Declicking</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="GBEnhanceSound">
<label>Enhance sound</label>
<label>Enhance sound</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxPanel" name="GBEnhanceSoundDep">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="GBSurround">
<label>Surround</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
@ -315,13 +286,6 @@
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="GBASoundInterpolation">
<label>Sound interpolation</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<label>Sound filtering</label>