diff options
Diffstat (limited to 'tools/dbtool/finished.cpp')
-rw-r--r-- | tools/dbtool/finished.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dbtool/finished.cpp b/tools/dbtool/finished.cpp index f39219730d..7457d8b7d4 100644 --- a/tools/dbtool/finished.cpp +++ b/tools/dbtool/finished.cpp @@ -28,11 +28,11 @@ INT_PTR CALLBACK FinishedDlgProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM lPa case WM_INITDIALOG:
EnableWindow(GetDlgItem(GetParent(hdlg),IDC_BACK),FALSE);
SetDlgItemText(GetParent(hdlg),IDCANCEL,TranslateT("&Finish"));
- SetWindowLong(GetDlgItem(hdlg,IDC_DBFILE),GWL_STYLE,GetWindowLong(GetDlgItem(hdlg,IDC_DBFILE),GWL_STYLE)|SS_PATHELLIPSIS);
+ SetWindowLongPtr(GetDlgItem(hdlg,IDC_DBFILE),GWL_STYLE,GetWindowLongPtr(GetDlgItem(hdlg,IDC_DBFILE),GWL_STYLE)|SS_PATHELLIPSIS);
SetDlgItemText( hdlg, IDC_DBFILE, opts.filename );
if(opts.bBackup) {
ShowWindow(GetDlgItem(hdlg,IDC_STBACKUP),TRUE);
- SetWindowLong(GetDlgItem(hdlg,IDC_BACKUPFILE),GWL_STYLE,GetWindowLong(GetDlgItem(hdlg,IDC_BACKUPFILE),GWL_STYLE)|SS_PATHELLIPSIS);
+ SetWindowLongPtr(GetDlgItem(hdlg,IDC_BACKUPFILE),GWL_STYLE,GetWindowLongPtr(GetDlgItem(hdlg,IDC_BACKUPFILE),GWL_STYLE)|SS_PATHELLIPSIS);
SetDlgItemText(hdlg,IDC_BACKUPFILE,opts.backupFilename);
}
else ShowWindow(GetDlgItem(hdlg,IDC_STBACKUP),FALSE);
|