summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchengyemao <chengyemao>2005-01-18 15:19:28 (GMT)
committerchengyemao <chengyemao>2005-01-18 15:19:28 (GMT)
commit53cebf2288dc3904109a8af228eb93c41b209bbb (patch)
tree006ebe9ea04d796b29500d2fc0e5dc3d97e899f3
parente4c758049c65a3fa68d736b7c73f61899bf70f16 (diff)
downloadtk-53cebf2288dc3904109a8af228eb93c41b209bbb.zip
tk-53cebf2288dc3904109a8af228eb93c41b209bbb.tar.gz
tk-53cebf2288dc3904109a8af228eb93c41b209bbb.tar.bz2
Minor change for correct initial embeddedMenuHwnd
-rw-r--r--win/tkWinEmbed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/tkWinEmbed.c b/win/tkWinEmbed.c
index fe99be0..3c4c31e 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.26 2005/01/17 07:08:51 chengyemao Exp $
+ * RCS: @(#) $Id: tkWinEmbed.c,v 1.27 2005/01/18 15:19:28 chengyemao Exp $
*/
#include "tkWinInt.h"
@@ -353,6 +353,7 @@ TkpMakeContainer(tkwin)
containerPtr->parentHWnd = Tk_GetHWND(Tk_WindowId(tkwin));
containerPtr->embeddedHWnd = NULL;
containerPtr->embeddedPtr = NULL;
+ containerPtr->embeddedMenuHWnd = NULL;
containerPtr->nextPtr = tsdPtr->firstContainerPtr;
tsdPtr->firstContainerPtr = containerPtr;
winPtr->flags |= TK_CONTAINER;