Resized some of the dialogs. Fixed the Cancel button on the GDB configuration dialog.
This commit is contained in:
parent
8e7f8ad74a
commit
90249184a3
File diff suppressed because it is too large
Load Diff
|
@ -1972,8 +1972,13 @@ int GetGDBPort(MainFrame* mf)
|
|||
|
||||
EVT_HANDLER(DebugGDBPort, "Configure port...")
|
||||
{
|
||||
gdbPort = GetGDBPort(this);
|
||||
update_opts();
|
||||
int port_selected = GetGDBPort(this);
|
||||
|
||||
if (port_selected != -1)
|
||||
{
|
||||
gdbPort = port_selected;
|
||||
update_opts();
|
||||
}
|
||||
}
|
||||
|
||||
EVT_HANDLER(DebugGDBBreakOnLoad, "Break on load")
|
||||
|
@ -1988,11 +1993,16 @@ void MainFrame::GDBBreak()
|
|||
|
||||
if (gdbPort == 0)
|
||||
{
|
||||
gdbPort = GetGDBPort(this);
|
||||
update_opts();
|
||||
int port_selected = GetGDBPort(this);
|
||||
|
||||
if (port_selected != -1)
|
||||
{
|
||||
gdbPort = port_selected;
|
||||
update_opts();
|
||||
}
|
||||
}
|
||||
|
||||
if (gdbPort != 0)
|
||||
if (gdbPort > 0)
|
||||
{
|
||||
if (!remotePort)
|
||||
{
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
<object class="sizeritem">
|
||||
<object class="wxTreeCtrl" name="Commands">
|
||||
<style>wxTR_HAS_BUTTONS|wxTR_NO_LINES|wxTR_FULL_ROW_HIGHLIGHT|wxTR_HIDE_ROOT</style>
|
||||
<size>300,300</size>
|
||||
</object>
|
||||
<flag>wxALL|wxEXPAND</flag>
|
||||
<border>5</border>
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
<object class="wxDirPickerCtrl" name="GBARoms">
|
||||
<message>Game Boy Advance ROMs</message>
|
||||
<style>wxDIRP_USE_TEXTCTRL|wxDIRP_DIR_MUST_EXIST</style>
|
||||
<size>439,30</size>
|
||||
</object>
|
||||
<flag>wxALL|wxEXPAND</flag>
|
||||
<border>5</border>
|
||||
|
|
|
@ -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="Disassemble">
|
||||
<title>Disassemble</title>
|
||||
<object class="wxBoxSizer">
|
||||
<orient>wxVERTICAL</orient>
|
||||
<object class="sizeritem">
|
||||
|
|
|
@ -97,6 +97,7 @@
|
|||
<object class="sizeritem">
|
||||
<object class="wxFilePickerCtrl" name="BootRom">
|
||||
<wildcard>BIOS files (*.bin;*.rom)|*.bin;*.rom|All files|*</wildcard>
|
||||
<size>527,30</size>
|
||||
</object>
|
||||
<option>1</option>
|
||||
<flag>wxALL|wxEXPAND</flag>
|
||||
|
|
|
@ -90,6 +90,7 @@
|
|||
<object class="wxFilePickerCtrl" name="BootRom">
|
||||
<message>Select A File</message>
|
||||
<wildcard>BIOS files (*.bin;*.rom)|*.bin;*.rom|All files|*</wildcard>
|
||||
<size>472,30</size>
|
||||
</object>
|
||||
<option>1</option>
|
||||
<flag>wxALL|wxEXPAND</flag>
|
||||
|
@ -111,6 +112,7 @@
|
|||
<object class="wxFilePickerCtrl" name="CBootRom">
|
||||
<message>Select A File</message>
|
||||
<wildcard>BIOS files (*.bin;*.rom)|*.bin;*.rom|All files|*</wildcard>
|
||||
<size>472,30</size>
|
||||
</object>
|
||||
<option>1</option>
|
||||
<flag>wxALL|wxEXPAND</flag>
|
||||
|
|
|
@ -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="IOViewer">
|
||||
<title>IO Viewer</title>
|
||||
<object class="wxBoxSizer">
|
||||
<orient>wxVERTICAL</orient>
|
||||
<object class="sizeritem">
|
||||
|
|
|
@ -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="Logging">
|
||||
<title>Logging</title>
|
||||
<object class="wxBoxSizer">
|
||||
<orient>wxVERTICAL</orient>
|
||||
<object class="sizeritem">
|
||||
|
|
|
@ -507,7 +507,7 @@
|
|||
<label>&Map Viewer...</label>
|
||||
</object>
|
||||
<object class="wxMenuItem" name="MemoryViewer">
|
||||
<label>M_emory viewer...</label>
|
||||
<label>M_emory Viewer...</label>
|
||||
</object>
|
||||
<object class="wxMenuItem" name="OAMViewer">
|
||||
<label>_OAM Viewer...</label>
|
||||
|
|
|
@ -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="MapViewer">
|
||||
<title>Map Viewer</title>
|
||||
<object class="wxBoxSizer">
|
||||
<orient>wxVERTICAL</orient>
|
||||
<object class="sizeritem">
|
||||
|
|
|
@ -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="MemViewer">
|
||||
<title>Memory Viewer</title>
|
||||
<object class="wxBoxSizer">
|
||||
<orient>wxVERTICAL</orient>
|
||||
<object class="sizeritem">
|
||||
|
|
|
@ -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="NetLink">
|
||||
<title>Start Network Link</title>
|
||||
<object class="wxBoxSizer">
|
||||
<orient>wxVERTICAL</orient>
|
||||
<object class="sizeritem">
|
||||
|
|
|
@ -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="OAMViewer">
|
||||
<title>OAM Viewer</title>
|
||||
<object class="wxBoxSizer">
|
||||
<orient>wxVERTICAL</orient>
|
||||
<object class="sizeritem">
|
||||
|
|
|
@ -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="PaletteViewer">
|
||||
<title>Palette Viewer</title>
|
||||
<object class="wxBoxSizer">
|
||||
<orient>wxVERTICAL</orient>
|
||||
<object class="sizeritem">
|
||||
|
|
|
@ -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="TileViewer">
|
||||
<title>Tile Viewer</title>
|
||||
<object class="wxBoxSizer">
|
||||
<orient>wxVERTICAL</orient>
|
||||
<object class="sizeritem">
|
||||
|
|
Loading…
Reference in New Issue