mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Clean up UI code.
- Use Bind instead of connect. It's recommended for anyone using wx 2.9+ - Remove AppConnector. All this did was destroy objects used in the UI. However, wxWidgets handles this. So it's redundant. - Misc other unimportant changes.
This commit is contained in:
parent
db1ca2f89f
commit
b877879db6
37 changed files with 451 additions and 542 deletions
|
@ -10,7 +10,7 @@ GameViewer::GameViewer(wxWindow* parent) : wxListView(parent)
|
|||
|
||||
m_path = "/dev_hdd0/game/";
|
||||
|
||||
Connect(GetId(), wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler(GameViewer::DClick));
|
||||
Bind(wxEVT_LIST_ITEM_ACTIVATED, &GameViewer::DClick, this);
|
||||
|
||||
Refresh();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue