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