From 23808af094898507da99f9a7b1b394ae1eb414d6 Mon Sep 17 00:00:00 2001 From: yangws Date: Wed, 13 Oct 2010 05:16:17 +0000 Subject: [PATCH] win32 window close button enable. --- cocos2dx/platform/win32/CCXEGLView_win32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/platform/win32/CCXEGLView_win32.cpp b/cocos2dx/platform/win32/CCXEGLView_win32.cpp index 2897a526df..c7ec4f01f7 100644 --- a/cocos2dx/platform/win32/CCXEGLView_win32.cpp +++ b/cocos2dx/platform/win32/CCXEGLView_win32.cpp @@ -208,7 +208,7 @@ bool CCXEGLView::Create(LPCTSTR pTitle, int w, int h) WNDCLASS wc; // Windows Class Structure // Redraw On Size, And Own DC For Window. - wc.style = CS_NOCLOSE | CS_HREDRAW | CS_VREDRAW | CS_OWNDC; + wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; wc.lpfnWndProc = _WindowProc; // WndProc Handles Messages wc.cbClsExtra = 0; // No Extra Window Data wc.cbWndExtra = 0; // No Extra Window Data