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 )