DolphinWX: Get rid of wxGrid-based casts in the debugger.

This technically also fixes a memory leak in WatchView.cpp, because the table setting was done such that the grid wouldn't take ownership of the table, which means said table wouldn't be deleted in the grid's destructor.
This commit is contained in:
Lioncash
2015-03-24 09:37:20 -04:00
parent 01cb364c7a
commit 5ada887f94
7 changed files with 23 additions and 7 deletions

View File

@ -34,8 +34,10 @@ public:
void LoadAll();
private:
void CreateGUIControls();
wxAuiManager m_mgr;
// Owned by wx. Deleted implicitly upon destruction.
CWatchView* m_GPRGridView;
void CreateGUIControls();
};