diff options
author | hobbs <hobbs> | 2002-10-19 02:10:07 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-10-19 02:10:07 (GMT) |
commit | 2d55b177036384dfe6c8ed1ce2febf319d66932b (patch) | |
tree | 30b65baea962035ee3ac549e80d7b4480bc83d58 | |
parent | 7a5a5f28fc7c86f28dce0351a9c510e94c98148a (diff) | |
download | tk-2d55b177036384dfe6c8ed1ce2febf319d66932b.zip tk-2d55b177036384dfe6c8ed1ce2febf319d66932b.tar.gz tk-2d55b177036384dfe6c8ed1ce2febf319d66932b.tar.bz2 |
* win/winMain.c (WinMain, main): remove obsolete SetMessageQueue call
-rw-r--r-- | win/winMain.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/win/winMain.c b/win/winMain.c index 1c4e465..c0b3e2f 100644 --- a/win/winMain.c +++ b/win/winMain.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: winMain.c,v 1.13 2002/09/27 00:48:06 hobbs Exp $ + * RCS: @(#) $Id: winMain.c,v 1.14 2002/10/19 02:10:07 hobbs Exp $ */ #include <tk.h> @@ -95,16 +95,6 @@ WinMain(hInstance, hPrevInstance, lpszCmdLine, nCmdShow) Tcl_SetPanicProc(WishPanic); /* - * Increase the application queue size from default value of 8. - * At the default value, cross application SendMessage of WM_KILLFOCUS - * will fail because the handler will not be able to do a PostMessage! - * This is only needed for Windows 3.x, since NT dynamically expands - * the queue. - */ - - SetMessageQueue(64); - - /* * Create the console channels and install them as the standard * channels. All I/O will be discarded until Tk_CreateConsoleWindow is * called to attach the console to a text widget. @@ -383,15 +373,6 @@ int main(int argc, char **argv) */ setlocale(LC_ALL, "C"); - /* - * Increase the application queue size from default value of 8. - * At the default value, cross application SendMessage of WM_KILLFOCUS - * will fail because the handler will not be able to do a PostMessage! - * This is only needed for Windows 3.x, since NT dynamically expands - * the queue. - */ - - SetMessageQueue(64); /* * Create the console channels and install them as the standard @@ -405,4 +386,3 @@ int main(int argc, char **argv) return 0; } #endif /* !__GNUC__ || TK_TEST */ - |