Added a "Delete watch" context menu to the Watch window.

Added a "View memory" command to the context menu.
This commit is contained in:
skidau
2014-10-24 17:16:54 +11:00
parent 290e1bed37
commit b34e220086
7 changed files with 80 additions and 8 deletions

View File

@ -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;
};