diff options
Diffstat (limited to 'plugins/SendScreenshotPlus/src/dlg_msgbox.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/dlg_msgbox.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp b/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp index 5801dcd7fb..5562180bbb 100644 --- a/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp +++ b/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp @@ -334,9 +334,9 @@ static INT_PTR CALLBACK MsgBoxProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM l case MB_OKCANCEL: retOk = IDRETRY; - SetDlgItemText(hDlg, IDOK, LPGENT("OK")); + SetDlgItemText(hDlg, IDOK, LPGENW("OK")); retCancel = IDCANCEL; - SetDlgItemText(hDlg, IDCANCEL, LPGENT("Cancel")); + SetDlgItemText(hDlg, IDCANCEL, LPGENW("Cancel")); rcOk.left = dlgMid - okWidth - 10; rcOk.right = rcOk.left + okWidth; rcCancel.left = dlgMid + 10; @@ -347,9 +347,9 @@ static INT_PTR CALLBACK MsgBoxProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM l case MB_RETRYCANCEL: retOk = IDRETRY; - SetDlgItemText(hDlg, IDOK, LPGENT("Retry")); + SetDlgItemText(hDlg, IDOK, LPGENW("Retry")); retCancel = IDCANCEL; - SetDlgItemText(hDlg, IDCANCEL, LPGENT("Cancel")); + SetDlgItemText(hDlg, IDCANCEL, LPGENW("Cancel")); rcOk.left = dlgMid - okWidth - 10; rcOk.right = rcOk.left + okWidth; rcCancel.left = dlgMid + 10; @@ -360,9 +360,9 @@ static INT_PTR CALLBACK MsgBoxProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM l case MB_YESNO: retOk = IDYES; - SetDlgItemText(hDlg, IDOK, LPGENT("Yes")); + SetDlgItemText(hDlg, IDOK, LPGENW("Yes")); retCancel = IDNO; - SetDlgItemText(hDlg, IDCANCEL, LPGENT("No")); + SetDlgItemText(hDlg, IDCANCEL, LPGENW("No")); rcOk.left = dlgMid - okWidth - 10; rcOk.right = rcOk.left + okWidth; rcCancel.left = dlgMid + 10; @@ -373,11 +373,11 @@ static INT_PTR CALLBACK MsgBoxProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM l case MB_ABORTRETRYIGNORE: retOk = IDABORT; - SetDlgItemText(hDlg, IDOK, LPGENT("Abort")); + SetDlgItemText(hDlg, IDOK, LPGENW("Abort")); retAll = IDABORT; - SetDlgItemText(hDlg, IDALL, LPGENT("Retry")); + SetDlgItemText(hDlg, IDALL, LPGENW("Retry")); retCancel = IDCANCEL; - SetDlgItemText(hDlg, IDCANCEL, LPGENT("Ignore")); + SetDlgItemText(hDlg, IDCANCEL, LPGENW("Ignore")); rcAll.left = dlgMid - (allWidth / 2); rcAll.right = rcAll.left + allWidth; rcOk.left = rcAll.left - okWidth - 5; @@ -391,11 +391,11 @@ static INT_PTR CALLBACK MsgBoxProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM l case MB_YESNOCANCEL: retOk = IDYES; - SetDlgItemText(hDlg, IDOK, LPGENT("Yes")); + SetDlgItemText(hDlg, IDOK, LPGENW("Yes")); retAll = IDNO; - SetDlgItemText(hDlg, IDALL, LPGENT("No")); + SetDlgItemText(hDlg, IDALL, LPGENW("No")); retCancel = IDCANCEL; - SetDlgItemText(hDlg, IDCANCEL, LPGENT("Cancel")); + SetDlgItemText(hDlg, IDCANCEL, LPGENW("Cancel")); rcAll.left = dlgMid - (allWidth / 2); rcAll.right = rcAll.left + allWidth; rcOk.left = rcAll.left - okWidth - 5; @@ -409,13 +409,13 @@ static INT_PTR CALLBACK MsgBoxProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM l case MB_YESALLNO: retOk = IDYES; - SetDlgItemText(hDlg, IDOK, LPGENT("Yes")); + SetDlgItemText(hDlg, IDOK, LPGENW("Yes")); retAll = IDALL; - SetDlgItemText(hDlg, IDALL, LPGENT("All")); + SetDlgItemText(hDlg, IDALL, LPGENW("All")); //retNon = IDNONE; - SetDlgItemText(hDlg, IDNONE, LPGENT("None")); + SetDlgItemText(hDlg, IDNONE, LPGENW("None")); retCancel = IDNO; - SetDlgItemText(hDlg, IDCANCEL, LPGENT("No")); + SetDlgItemText(hDlg, IDCANCEL, LPGENW("No")); rcCancel.right = rcDlg.right - rcDlg.left - 10; rcCancel.left = rcCancel.right - caWidth; rcNone.right = rcCancel.left - 5; @@ -673,7 +673,7 @@ INT_PTR MsgBoxService(WPARAM, LPARAM lParam) **/ INT_PTR CALLBACK MsgBox(HWND hParent, UINT uType, LPCTSTR pszTitle, LPCTSTR pszInfo, LPCTSTR pszFormat, ...) { - TCHAR tszMsg[MAX_SECONDLINE]; + wchar_t tszMsg[MAX_SECONDLINE]; va_list vl; va_start(vl, pszFormat); @@ -699,7 +699,7 @@ INT_PTR CALLBACK MsgBox(HWND hParent, UINT uType, LPCTSTR pszTitle, LPCTSTR pszI **/ INT_PTR CALLBACK MsgErr(HWND hParent, LPCTSTR pszFormat, ...) { - TCHAR tszTitle[MAX_SECONDLINE], tszMsg[MAX_SECONDLINE]; + wchar_t tszTitle[MAX_SECONDLINE], tszMsg[MAX_SECONDLINE]; mir_sntprintf(tszTitle, L"%s - %s", _T(MODNAME), TranslateT("Error")); va_list vl; |