diff options
author | nijtmans <nijtmans> | 2010-01-13 23:08:06 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-01-13 23:08:06 (GMT) |
commit | 4b17d9aa89fabbd3ede6aee863e464d897944986 (patch) | |
tree | 1f472912658d183c50de332bc66a33540b44f060 /win/tkWinTest.c | |
parent | 06cb2ec571a2d819487289d968afece193cf8b36 (diff) | |
download | tk-4b17d9aa89fabbd3ede6aee863e464d897944986.zip tk-4b17d9aa89fabbd3ede6aee863e464d897944986.tar.gz tk-4b17d9aa89fabbd3ede6aee863e464d897944986.tar.bz2 |
Eliminate tkpMenubuttonClass
make tkpButtonProcs CONST
fix gcc warnings: missing initializer
Diffstat (limited to 'win/tkWinTest.c')
-rw-r--r-- | win/tkWinTest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinTest.c b/win/tkWinTest.c index 34647b4..d44bf38 100644 --- a/win/tkWinTest.c +++ b/win/tkWinTest.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinTest.c,v 1.28 2009/11/29 22:10:36 nijtmans Exp $ + * RCS: @(#) $Id: tkWinTest.c,v 1.29 2010/01/13 23:08:11 nijtmans Exp $ */ #ifndef USE_TCL_STUBS @@ -172,7 +172,7 @@ AppendSystemError( if (length == 0) { char *msgPtr; - length = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM + length = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_ALLOCATE_BUFFER, NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (char *) &msgPtr, @@ -412,7 +412,7 @@ TestwineventCmd( char buf[TCL_INTEGER_SPACE]; sprintf(buf, "%d", - (int)SendDlgItemMessage(hwnd, id, message, wParam, lParam)); + (int) SendDlgItemMessage(hwnd, id, message, wParam, lParam)); Tcl_SetResult(interp, buf, TCL_VOLATILE); break; } |