diff options
author | nijtmans <nijtmans> | 2007-01-05 00:00:47 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2007-01-05 00:00:47 (GMT) |
commit | 5c9860687fc1c16102a753d81ef3cf17392cd998 (patch) | |
tree | ef0668274bd47be5de7af3d70163084f9e530aa3 /win | |
parent | a15b7dcbd6c700fb5f1854f09c0d26cfd53e04bb (diff) | |
download | tk-5c9860687fc1c16102a753d81ef3cf17392cd998.zip tk-5c9860687fc1c16102a753d81ef3cf17392cd998.tar.gz tk-5c9860687fc1c16102a753d81ef3cf17392cd998.tar.bz2 |
various "const" additions, in line with TIP #27
fix bug #1627732
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinInt.h | 4 | ||||
-rw-r--r-- | win/tkWinWm.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/win/tkWinInt.h b/win/tkWinInt.h index 9b5c36a..1f54c65 100644 --- a/win/tkWinInt.h +++ b/win/tkWinInt.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinInt.h,v 1.26 2005/12/02 13:42:29 dkf Exp $ + * RCS: @(#) $Id: tkWinInt.h,v 1.27 2007/01/05 00:00:52 nijtmans Exp $ */ #ifndef _TKWININT @@ -203,7 +203,7 @@ typedef struct TkWinProcs { UINT Msg, WPARAM wParam, LPARAM lParam); LRESULT (WINAPI *defWindowProc)(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam); - ATOM (WINAPI *registerClass)(CONST WNDCLASS *lpWndClass); + ATOM (WINAPI *registerClass)(const WNDCLASS *lpWndClass); BOOL (WINAPI *setWindowText)(HWND hWnd, LPCTSTR lpString); HWND (WINAPI *createWindowEx)(DWORD dwExStyle, LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, diff --git a/win/tkWinWm.c b/win/tkWinWm.c index 86360fb..ce53b89 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinWm.c,v 1.110 2006/12/01 19:48:00 hobbs Exp $ + * RCS: @(#) $Id: tkWinWm.c,v 1.111 2007/01/05 00:00:52 nijtmans Exp $ */ #include "tkWinInt.h" @@ -358,7 +358,7 @@ typedef struct TkWmInfo { static void TopLevelReqProc(ClientData dummy, Tk_Window tkwin); -static Tk_GeomMgr wmMgrType = { +static const Tk_GeomMgr wmMgrType = { "wm", /* name */ TopLevelReqProc, /* requestProc */ NULL, /* lostSlaveProc */ |