From 415aaabc299128bd3b39f44a1246d3de416a39f1 Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Wed, 15 Jan 2020 18:29:15 +0000 Subject: [PATCH] Fix return type in KIDIALOG It was returned as a bool for some reason... --- common/confirm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/confirm.cpp b/common/confirm.cpp index 2b7cf6a276..60777f934c 100644 --- a/common/confirm.cpp +++ b/common/confirm.cpp @@ -82,7 +82,7 @@ bool KIDIALOG::Show( bool aShow ) return it->second; } - bool ret = wxRichMessageDialog::Show( aShow ); + int ret = wxRichMessageDialog::Show( aShow ); // Has the user asked not to show the dialog again and it was confirmed if( IsCheckBoxChecked() && ret != wxID_CANCEL )