file_menu->AppendSeparator();
file_menu->Append(wxID_EXIT, "E&xit");
- file_menu->Check(VALIDATE_SILENT, wxValidator::IsSilent());
+ file_menu->Check(VALIDATE_SILENT, !wxValidator::IsSilent());
wxMenuBar *menu_bar = new wxMenuBar;
menu_bar->Append(file_menu, "File");