mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
Added a "Delete watch" context menu to the Watch window.
Added a "View memory" command to the context menu.
This commit is contained in:
parent
290e1bed37
commit
b34e220086
7 changed files with 80 additions and 8 deletions
|
@ -19,7 +19,6 @@ class CWatchTable : public wxGridTableBase
|
|||
{
|
||||
enum
|
||||
{
|
||||
NUM_SPECIALS = 1,
|
||||
MAX_SPECIALS = 256,
|
||||
};
|
||||
|
||||
|
@ -47,4 +46,10 @@ class CWatchView : public wxGrid
|
|||
public:
|
||||
CWatchView(wxWindow* parent, wxWindowID id);
|
||||
void Update() override;
|
||||
void OnMouseDownR(wxGridEvent& event);
|
||||
void OnPopupMenu(wxCommandEvent& event);
|
||||
|
||||
private:
|
||||
u32 m_selectedAddress = 0;
|
||||
u32 m_selectedRow = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue