X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a994f81b947bd6ec0e7611988b3ebc1ae3e9df5a..14dd645ee16eb022afb19f35d0c8cfdf2d3cdee9:/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");