fix property sheet initialization

pull/1/head
Heiko Hund 2011-11-30 17:42:20 +01:00
parent 66b77868b4
commit 4725798de6
1 changed files with 6 additions and 0 deletions

6
main.c
View File

@ -405,6 +405,12 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
static INT_PTR CALLBACK
AboutDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
LPPSHNOTIFY psn;
if (msg == WM_NOTIFY) {
psn = (LPPSHNOTIFY) lParam;
if (psn->hdr.code == (UINT) PSN_APPLY)
return TRUE;
}
return FALSE;
}