mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-08 16:05:56 +00: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
|
|
@ -176,9 +176,9 @@ LogFrame::LogFrame(wxWindow* parent)
|
|||
m_log.InsertColumn(1, "Log");
|
||||
m_log.SetBackgroundColour(wxColour("Black"));
|
||||
|
||||
wxBoxSizer& s_main = *new wxBoxSizer(wxVERTICAL);
|
||||
s_main.Add(&m_log, 1, wxEXPAND);
|
||||
SetSizer(&s_main);
|
||||
wxBoxSizer* s_main = new wxBoxSizer(wxVERTICAL);
|
||||
s_main->Add(&m_log, 1, wxEXPAND);
|
||||
SetSizer(s_main);
|
||||
Layout();
|
||||
|
||||
Show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue