No more two buttons with thick border

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2032 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-01-04 14:45:49 +00:00
parent 245f947ee5
commit 43307a41d5

View file

@ -532,6 +532,8 @@ nextPage:
SetDlgItemTextFromLang(hwndDlg,IDOK,this_page->next);
hwndtmp=GetDlgItem(hwndDlg,IDC_BACK);
SendMessage(g_hwnd,DM_SETDEFID,IDOK,0);
SetWindowLong(hwndtmp,GWL_STYLE,GetWindowLong(hwndtmp,GWL_STYLE)&~BS_DEFPUSHBUTTON);
ShowWindow(hwndtmp,this_page->back&SW_SHOWNA);// SW_HIDE = 0
EnableWindow(hwndtmp,this_page->back&2);
EnableWindow(m_hwndOK,1);