win32 window close button enable.

This commit is contained in:
yangws 2010-10-13 05:16:17 +00:00
parent f9b550a7b0
commit 23808af094
1 changed files with 1 additions and 1 deletions

View File

@ -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