From f572fcdf6d2d2227cb6ebc6a45f9f95bbfb577db Mon Sep 17 00:00:00 2001 From: ayuanx Date: Thu, 10 Dec 2009 10:57:39 +0000 Subject: [PATCH] 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 --- Source/Plugins/Plugin_Wiimote/Src/ConfigBasicDlg.cpp | 1 - Source/Plugins/Plugin_Wiimote/Src/ConfigPadDlg.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/Source/Plugins/Plugin_Wiimote/Src/ConfigBasicDlg.cpp b/Source/Plugins/Plugin_Wiimote/Src/ConfigBasicDlg.cpp index ef2eaa5388..fa5aaef8de 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/ConfigBasicDlg.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/ConfigBasicDlg.cpp @@ -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); diff --git a/Source/Plugins/Plugin_Wiimote/Src/ConfigPadDlg.cpp b/Source/Plugins/Plugin_Wiimote/Src/ConfigPadDlg.cpp index 5a70ff4f01..061347745b 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/ConfigPadDlg.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/ConfigPadDlg.cpp @@ -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();