I just figure out that this ToolTip is the root cause of random crash when you click the Close Button.
I can explain the scenario how to produce it if you have doubts. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4671 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
cf55a09e08
commit
f572fcdf6d
|
@ -276,7 +276,6 @@ void WiimoteBasicConfigDialog::CreateGUIControls()
|
|||
m_Recording = new wxButton(this, ID_BUTTONRECORDING, wxT("Recording"));
|
||||
m_Apply = new wxButton(this, ID_APPLY, wxT("Apply"));
|
||||
m_Close = new wxButton(this, ID_CLOSE, wxT("Close"));
|
||||
m_Close->SetToolTip(wxT("Apply and Close"));
|
||||
|
||||
wxBoxSizer* sButtons = new wxBoxSizer(wxHORIZONTAL);
|
||||
sButtons->Add(m_ButtonMapping, 0, (wxALL), 0);
|
||||
|
|
|
@ -892,7 +892,6 @@ void WiimotePadConfigDialog::CreatePadGUIControls()
|
|||
|
||||
m_Apply = new wxButton(this, ID_APPLY, wxT("Apply"));
|
||||
m_Close = new wxButton(this, ID_CLOSE, wxT("Close"));
|
||||
m_Close->SetToolTip(wxT("Apply and Close"));
|
||||
|
||||
wxBoxSizer* sButtons = new wxBoxSizer(wxHORIZONTAL);
|
||||
sButtons->AddStretchSpacer();
|
||||
|
|
Loading…
Reference in New Issue