diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-03-30 12:57:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-03-30 12:57:27 (GMT) |
commit | df008ca3249de1390d881ced2ec3a0b95425d203 (patch) | |
tree | c57cb743901e5362565beba04f52879ba2417af8 /win/tclWinNotify.c | |
parent | 6cf1f7bacfe7e787c6468eed2b41194dd1c6e333 (diff) | |
parent | 77ccaefbb1482145de9b9276979318e88b9e542e (diff) | |
download | tcl-df008ca3249de1390d881ced2ec3a0b95425d203.zip tcl-df008ca3249de1390d881ced2ec3a0b95425d203.tar.gz tcl-df008ca3249de1390d881ced2ec3a0b95425d203.tar.bz2 |
merge trunk
Diffstat (limited to 'win/tclWinNotify.c')
-rw-r--r-- | win/tclWinNotify.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinNotify.c b/win/tclWinNotify.c index 985a769..1ad022d 100644 --- a/win/tclWinNotify.c +++ b/win/tclWinNotify.c @@ -50,7 +50,7 @@ static Tcl_ThreadDataKey dataKey; */ static int notifierCount = 0; -static const TCHAR classname[] = TEXT("TclNotifier"); +static const TCHAR className[] = TEXT("TclNotifier"); static int initialized = 0; static CRITICAL_SECTION notifierMutex; @@ -106,7 +106,7 @@ Tcl_InitNotifier(void) class.hInstance = TclWinGetTclInstance(); class.hbrBackground = NULL; class.lpszMenuName = NULL; - class.lpszClassName = classname; + class.lpszClassName = className; class.lpfnWndProc = NotifierProc; class.hIcon = NULL; class.hCursor = NULL; @@ -195,7 +195,7 @@ Tcl_FinalizeNotifier( if (notifierCount) { notifierCount--; if (notifierCount == 0) { - UnregisterClass(classname, TclWinGetTclInstance()); + UnregisterClass(className, TclWinGetTclInstance()); } } LeaveCriticalSection(¬ifierMutex); @@ -360,7 +360,7 @@ Tcl_ServiceModeHook( */ if (mode == TCL_SERVICE_ALL && !tsdPtr->hwnd) { - tsdPtr->hwnd = CreateWindow(classname, classname, + tsdPtr->hwnd = CreateWindow(className, className, WS_TILED, 0, 0, 0, 0, NULL, NULL, TclWinGetTclInstance(), NULL); |