mirror of https://github.com/OpenVPN/openvpn-gui
fix property sheet initialization
parent
66b77868b4
commit
4725798de6
6
main.c
6
main.c
|
@ -405,6 +405,12 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
||||||
static INT_PTR CALLBACK
|
static INT_PTR CALLBACK
|
||||||
AboutDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue