diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2010-12-20 10:36:48 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2010-12-20 12:51:26 -0500 |
commit | 2d96276e243c93add0b0d292ae9f05a54508b6e7 (patch) | |
tree | 2668a53d7f79961c5d21f18e1737614331593303 | |
parent | cba3a1741a8d7874eeb729bd2e1734b1ba712da9 (diff) | |
download | bitcoin-2d96276e243c93add0b0d292ae9f05a54508b6e7.tar.xz |
EndModal fix for Mac from piotrp
-rw-r--r-- | ui.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1466,8 +1466,7 @@ CTxDetailsDialog::CTxDetailsDialog(wxWindow* parent, CWalletTx wtx) : CTxDetails void CTxDetailsDialog::OnButtonOK(wxCommandEvent& event) { - Close(); - //Destroy(); + EndModal(false); } @@ -1736,12 +1735,12 @@ void COptionsDialog::OnKillFocusProxy(wxFocusEvent& event) void COptionsDialog::OnButtonOK(wxCommandEvent& event) { OnButtonApply(event); - Close(); + EndModal(false); } void COptionsDialog::OnButtonCancel(wxCommandEvent& event) { - Close(); + EndModal(false); } void COptionsDialog::OnButtonApply(wxCommandEvent& event) @@ -1828,7 +1827,7 @@ CAboutDialog::CAboutDialog(wxWindow* parent) : CAboutDialogBase(parent) void CAboutDialog::OnButtonOK(wxCommandEvent& event) { - Close(); + EndModal(false); } |