diff options
author | hobbs <hobbs> | 2002-10-19 02:10:07 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-10-19 02:10:07 (GMT) |
commit | 297403f0b38898ac70a21500a8dcd119df2b5a84 (patch) | |
tree | 30b65baea962035ee3ac549e80d7b4480bc83d58 | |
parent | 985c5ce727f1a2e8d7e168c4891eefe2247eaade (diff) | |
download | tk-297403f0b38898ac70a21500a8dcd119df2b5a84.zip tk-297403f0b38898ac70a21500a8dcd119df2b5a84.tar.gz tk-297403f0b38898ac70a21500a8dcd119df2b5a84.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 */ - |