Back button no longer enabled by default
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1657 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e2a160f9f6
commit
a51632f947
2 changed files with 8 additions and 9 deletions
|
@ -163,15 +163,15 @@ HWND hNextButton = NULL;
|
|||
HWND hBackButton = NULL;
|
||||
HINSTANCE m_hInstance = NULL;
|
||||
|
||||
char *pszFilename = NULL;
|
||||
char *pszTitle = NULL;
|
||||
char *pszFilename = NULL;
|
||||
char *pszTitle = NULL;
|
||||
char *pszCancelButtonText = NULL;
|
||||
char *pszNextButtonText = NULL;
|
||||
char *pszBackButtonText = NULL;
|
||||
BOOL bBackDisabled=FALSE;
|
||||
char *pszNextButtonText = NULL;
|
||||
char *pszBackButtonText = NULL;
|
||||
BOOL bBackDisabled = FALSE;
|
||||
|
||||
BOOL bCancelEnabled=TRUE; // by ORTIM: 13-August-2002
|
||||
int bCancelShow=1; // by ORTIM: 13-August-2002
|
||||
BOOL bCancelEnabled = TRUE; // by ORTIM: 13-August-2002
|
||||
int bCancelShow = 1; // by ORTIM: 13-August-2002
|
||||
|
||||
FieldType *pFields = NULL;
|
||||
int nNumFields = 0;
|
||||
|
@ -740,8 +740,7 @@ int createCfgDlg()
|
|||
GetWindowText(hBackButton,old_back,sizeof(old_back));
|
||||
if (pszBackButtonText) SetWindowText(hBackButton,pszBackButtonText);
|
||||
|
||||
|
||||
EnableWindow(hBackButton,!bBackDisabled);
|
||||
if (bBackDisabled) EnableWindow(hBackButton,0);
|
||||
|
||||
old_cancel_enabled=!EnableWindow(hCancelButton,bCancelEnabled); // by ORTIM: 13-August-2002
|
||||
old_cancel_visible=IsWindowVisible(hCancelButton); // by ORTIM: 13-August-2002
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue