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