mirror of https://github.com/axmolengine/axmol.git
win32 window close button enable.
This commit is contained in:
parent
f9b550a7b0
commit
23808af094
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue