X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a994f81b947bd6ec0e7611988b3ebc1ae3e9df5a..2b96d0fb4be7d684c17987d74f8f92d0cfe345b5:/samples/validate/validate.cpp diff --git a/samples/validate/validate.cpp b/samples/validate/validate.cpp index 6049dac8ca..6236f14778 100644 --- a/samples/validate/validate.cpp +++ b/samples/validate/validate.cpp @@ -72,7 +72,7 @@ MyFrame::MyFrame(wxFrame *frame, const char *title, int x, int y, int w, int h) 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");