EndModal fix for Mac from piotrp
This commit is contained in:
parent
cba3a1741a
commit
2d96276e24
1 changed files with 4 additions and 5 deletions
9
ui.cpp
9
ui.cpp
|
@ -1466,8 +1466,7 @@ CTxDetailsDialog::CTxDetailsDialog(wxWindow* parent, CWalletTx wtx) : CTxDetails
|
||||||
|
|
||||||
void CTxDetailsDialog::OnButtonOK(wxCommandEvent& event)
|
void CTxDetailsDialog::OnButtonOK(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
Close();
|
EndModal(false);
|
||||||
//Destroy();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1736,12 +1735,12 @@ void COptionsDialog::OnKillFocusProxy(wxFocusEvent& event)
|
||||||
void COptionsDialog::OnButtonOK(wxCommandEvent& event)
|
void COptionsDialog::OnButtonOK(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
OnButtonApply(event);
|
OnButtonApply(event);
|
||||||
Close();
|
EndModal(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void COptionsDialog::OnButtonCancel(wxCommandEvent& event)
|
void COptionsDialog::OnButtonCancel(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
Close();
|
EndModal(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void COptionsDialog::OnButtonApply(wxCommandEvent& event)
|
void COptionsDialog::OnButtonApply(wxCommandEvent& event)
|
||||||
|
@ -1828,7 +1827,7 @@ CAboutDialog::CAboutDialog(wxWindow* parent) : CAboutDialogBase(parent)
|
||||||
|
|
||||||
void CAboutDialog::OnButtonOK(wxCommandEvent& event)
|
void CAboutDialog::OnButtonOK(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
Close();
|
EndModal(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue