proper
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@364 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
913a0e0136
commit
b843b0548f
1 changed files with 1 additions and 2 deletions
|
|
@ -101,10 +101,9 @@ static LRESULT CALLBACK wndproc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
|
|||
if(style & WS_CHILD) return HTCLIENT;
|
||||
return DefWindowProc(hWnd, msg, wp, lp);
|
||||
} else if(msg == WM_DESTROY) {
|
||||
MwLLDispatch(u->ll, close, NULL);
|
||||
PostQuitMessage(0);
|
||||
} else if(msg == WM_CLOSE) {
|
||||
DestroyWindow(hWnd);
|
||||
MwLLDispatch(u->ll, close, NULL);
|
||||
} else if(msg == WM_CHAR) {
|
||||
int n = wp;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue