diff --git a/samples/console/console.cpp b/samples/console/console.cpp index 05f70a6a07..0b7e3d6ee5 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -40,12 +40,13 @@ static const wxCmdLineEntryDesc cmdLineDesc[] = { { wxCMD_LINE_SWITCH, "h", "help", "show this help message", wxCMD_LINE_VAL_NONE, wxCMD_LINE_OPTION_HELP }, - { wxCMD_LINE_SWITCH, "d", "dummy", "a dummy switch" }, + { wxCMD_LINE_SWITCH, "d", "dummy", "a dummy switch", + wxCMD_LINE_VAL_NONE, 0 }, { wxCMD_LINE_SWITCH, "s", "secret", "a secret switch", wxCMD_LINE_VAL_NONE, wxCMD_LINE_HIDDEN }, // ... your other command line options here... - { wxCMD_LINE_NONE } + wxCMD_LINE_DESC_END }; int main(int argc, char **argv)