diff options
author | nijtmans <nijtmans@noemail.net> | 2010-09-10 08:59:23 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-09-10 08:59:23 (GMT) |
commit | 308d51ba098419ff8d9271b060bd1ba5ad3eeca5 (patch) | |
tree | 5518d2c9eeb4532b5060c62502b6c42f92440c1a /win/tkWinEmbed.c | |
parent | 011a07960041dd0118d7d50aded4d8ba676d7228 (diff) | |
download | tk-308d51ba098419ff8d9271b060bd1ba5ad3eeca5.zip tk-308d51ba098419ff8d9271b060bd1ba5ad3eeca5.tar.gz tk-308d51ba098419ff8d9271b060bd1ba5ad3eeca5.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.
FossilOrigin-Name: bf1b459784d2582097fc588b20ad9ef01b575112
Diffstat (limited to 'win/tkWinEmbed.c')
-rw-r--r-- | win/tkWinEmbed.c | 4 |
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; |