summaryrefslogtreecommitdiffstats
path: root/win/tkWinEmbed.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-10 08:59:24 (GMT)
committernijtmans <nijtmans>2010-09-10 08:59:24 (GMT)
commit2d9b29197a1dbb4d152e669eb2e51f156a2c29cd (patch)
tree5518d2c9eeb4532b5060c62502b6c42f92440c1a /win/tkWinEmbed.c
parent6da8b413c4b3bf6801bd9935bce44a7764ab85f6 (diff)
downloadtk-2d9b29197a1dbb4d152e669eb2e51f156a2c29cd.zip
tk-2d9b29197a1dbb4d152e669eb2e51f156a2c29cd.tar.gz
tk-2d9b29197a1dbb4d152e669eb2e51f156a2c29cd.tar.bz2
Make compilable with -DUNICODE, or mark files with a TODO which are not done yet.
tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
Diffstat (limited to 'win/tkWinEmbed.c')
-rw-r--r--win/tkWinEmbed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinEmbed.c b/win/tkWinEmbed.c
index 814a163..1156751 100644
--- a/win/tkWinEmbed.c
+++ b/win/tkWinEmbed.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: tkWinEmbed.c,v 1.36 2010/01/13 23:08:11 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinEmbed.c,v 1.37 2010/09/10 08:59:25 nijtmans Exp $
*/
#include "tkWinInt.h"
@@ -300,7 +300,7 @@ TkpUseWindow(
char msg[256];
sprintf(msg, "Unable to get information of window \"%.80s\". Attach to this\nwindow may have unpredictable results if it is not a valid container.\n\nPress Ok to proceed or Cancel to abort attaching.", string);
- if (IDCANCEL == MessageBox(hwnd, msg, "Tk Warning",
+ if (IDCANCEL == MessageBoxA(hwnd, msg, "Tk Warning",
MB_OKCANCEL | MB_ICONWARNING)) {
Tcl_SetResult(interp, "Operation has been canceled", TCL_STATIC);
return TCL_ERROR;