diff options
author | nijtmans <nijtmans> | 2010-01-13 23:08:06 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-01-13 23:08:06 (GMT) |
commit | 353d7693729fb7a45a35be7158fc4b94db079735 (patch) | |
tree | 1f472912658d183c50de332bc66a33540b44f060 /win/tkWinDialog.c | |
parent | 15e42ed5b2cbc9b9a5802d75268d97f302ac23c0 (diff) | |
download | tk-353d7693729fb7a45a35be7158fc4b94db079735.zip tk-353d7693729fb7a45a35be7158fc4b94db079735.tar.gz tk-353d7693729fb7a45a35be7158fc4b94db079735.tar.bz2 |
Eliminate tkpMenubuttonClass
make tkpButtonProcs CONST
fix gcc warnings: missing initializer
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r-- | win/tkWinDialog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c index fd06861..ebea91d 100644 --- a/win/tkWinDialog.c +++ b/win/tkWinDialog.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinDialog.c,v 1.68 2010/01/05 21:50:54 patthoyts Exp $ + * RCS: @(#) $Id: tkWinDialog.c,v 1.69 2010/01/13 23:08:11 nijtmans Exp $ * */ @@ -2338,7 +2338,7 @@ Tk_MessageBoxObjCmd( if (defaultBtn >= 0) { int defaultBtnIdx = -1; - for (i = 0; i < NUM_TYPES; i++) { + for (i = 0; i < (int) NUM_TYPES; i++) { if (type == allowedTypes[i].type) { int j; @@ -2623,7 +2623,7 @@ HookProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) */ if (WM_COMMAND == msg && LOWORD(wParam) == 1026) { - LOGFONT lf = {0}; + LOGFONT lf = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0}}; HDC hdc = GetDC(hwndDlg); SendMessage(hwndDlg, WM_CHOOSEFONT_GETLOGFONT, 0, (LPARAM) &lf); |