diff --git a/common/confirm.cpp b/common/confirm.cpp index 86a5855d60..3aab281823 100644 --- a/common/confirm.cpp +++ b/common/confirm.cpp @@ -89,7 +89,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 )