mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-15 15:42:38 +00:00
WX/Debugger: Clean up event handling
Boot to Pause and Automatic Start are not JIT or CPU menu items, so they are supposed to be handled by OnCPUMode.
This commit is contained in:
parent
ed331918f0
commit
f777c01c5d
4 changed files with 18 additions and 8 deletions
|
@ -505,6 +505,16 @@ void CCodeWindow::OnChangeFont(wxCommandEvent& event)
|
|||
// TODO: Send event to all panels that tells them to reload the font when it changes.
|
||||
}
|
||||
|
||||
void CCodeWindow::OnBootToPauseSelected(wxCommandEvent& event)
|
||||
{
|
||||
SConfig::GetInstance().bBootToPause = event.IsChecked();
|
||||
}
|
||||
|
||||
void CCodeWindow::OnAutomaticStartSelected(wxCommandEvent& event)
|
||||
{
|
||||
SConfig::GetInstance().bAutomaticStart = event.IsChecked();
|
||||
}
|
||||
|
||||
// Toggle windows
|
||||
|
||||
wxPanel* CCodeWindow::GetUntypedPanel(int id) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue