summaryrefslogtreecommitdiff
path: root/app/wlib/mswlib/mswmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/wlib/mswlib/mswmisc.c')
-rw-r--r--app/wlib/mswlib/mswmisc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/wlib/mswlib/mswmisc.c b/app/wlib/mswlib/mswmisc.c
index b9383a2..e045cc8 100644
--- a/app/wlib/mswlib/mswmisc.c
+++ b/app/wlib/mswlib/mswmisc.c
@@ -1783,7 +1783,7 @@ void wExit(int rc)
savePos(w);
if (w->winProc != NULL) {
- w->winProc(w, wQuit_e, w->data);
+ w->winProc(w, wQuit_e, NULL, w->data);
}
}
}
@@ -2732,8 +2732,8 @@ MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
w->h = newH;
if (w->winProc) {
- w->winProc(w, wResize_e, w->data);
- w->winProc(w, wState_e, w->data);
+ w->winProc(w, wResize_e, NULL, w->data);
+ w->winProc(w, wState_e, NULL, w->data);
}
break;
@@ -2980,7 +2980,7 @@ MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
}
if (w->winProc) {
- w->winProc(w, wClose_e, w->data);
+ w->winProc(w, wClose_e, NULL, w->data);
}
wWinShow(w, FALSE);
@@ -3003,7 +3003,7 @@ MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
/* It's the big one! */
/* call main window procedure for processing of shutdown */
if (w->winProc) {
- (w->winProc(w, wClose_e, NULL));
+ (w->winProc(w, wClose_e, NULL, NULL));
}
return 0L;