comdlg32: Load "Save" string from resources in filedlgbrowser.c.
This commit is contained in:
parent
409b135a02
commit
06f9c79739
|
@ -843,7 +843,11 @@ static HRESULT WINAPI IShellBrowserImpl_ICommDlgBrowser_OnStateChange(ICommDlgBr
|
|||
{
|
||||
FileOpenDlgInfos *fodInfos = (FileOpenDlgInfos *) GetPropA(This->hwndOwner,FileOpenDlgInfosStr);
|
||||
if(fodInfos->DlgInfos.dwDlgProp & FODPROP_SAVEDLG)
|
||||
SetDlgItemTextA(fodInfos->ShellInfos.hwndOwner,IDOK,"&Save");
|
||||
{
|
||||
WCHAR szSave[16];
|
||||
LoadStringW(COMDLG32_hInstance, IDS_SAVE_BUTTON, szSave, sizeof(szSave)/sizeof(WCHAR));
|
||||
SetDlgItemTextW(fodInfos->ShellInfos.hwndOwner, IDOK, szSave);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case CDBOSC_SELCHANGE:
|
||||
|
|
Loading…
Reference in New Issue