| 447 | * Side effects: |
| 448 | * Whatever the applications does. |
| 449 | * |
| 450 | *---------------------------------------------------------------------- |
| 451 | */ |
| 452 | |
| 453 | int main(int argc, char **argv) |
| 454 | { |
| 455 | Tcl_SetPanicProc(WishPanic); |
| 456 | |
| 457 | /* |
| 458 | * Set up the default locale to be standard "C" locale so parsing |
| 459 | * is performed correctly. |
| 460 | */ |
| 461 | |
| 462 | setlocale(LC_ALL, "C"); |
| 463 | /* |
| 464 | * Increase the application queue size from default value of 8. |
| 465 | * At the default value, cross application SendMessage of WM_KILLFOCUS |
| 466 | * will fail because the handler will not be able to do a PostMessage! |
| 467 | * This is only needed for Windows 3.x, since NT dynamically expands |
| 468 | * the queue. |
| 469 | */ |
| 470 | |
| 471 | SetMessageQueue(64); |
| 472 | |
| 473 | /* |
| 474 | * Create the console channels and install them as the standard |
| 475 | * channels. All I/O will be discarded until Tk_CreateConsoleWindow is |
| 476 | * called to attach the console to a text widget. |
| 477 | */ |
| 478 | |
| 479 | consoleRequired = FALSE; |
| 480 | |
| 481 | Tk_MainOpenSees(argc, argv, Tcl_AppInit, Tcl_CreateInterp()); |
| 482 | return 0; |
nothing calls this directly
no test coverage detected