mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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:
@ -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
|
||||
|
Reference in New Issue
Block a user