From 6440934f69bcf910042b47e0aad62c4a7b26c3de Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Tue, 18 Aug 2015 19:02:28 +0000 Subject: Toaster: minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14991 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Toaster/src/main.cpp | 2 +- plugins/Toaster/src/toast_notification.cpp | 2 +- plugins/Toaster/src/toast_notification.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp index c5cf1d04ca..5158940d1b 100644 --- a/plugins/Toaster/src/main.cpp +++ b/plugins/Toaster/src/main.cpp @@ -32,7 +32,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) if (IsWinVer8Plus()) return &pluginInfo; - MessageBox(NULL, _T(MODULE" supports Windows 8 or higher"), _T(MODULE), MB_OK | MB_ICONERROR); + MessageBox(NULL, TranslateT("This plugin only supports Windows 8 or higher"), _T(MODULE), MB_OK | MB_ICONERROR); return NULL; } diff --git a/plugins/Toaster/src/toast_notification.cpp b/plugins/Toaster/src/toast_notification.cpp index 3430b404e0..9e3ad1b915 100644 --- a/plugins/Toaster/src/toast_notification.cpp +++ b/plugins/Toaster/src/toast_notification.cpp @@ -1,6 +1,6 @@ #include "stdafx.h" -ToastNotification::ToastNotification(_In_ wchar_t* text, _In_ wchar_t* caption, _In_ wchar_t* imagePath) throw() +ToastNotification::ToastNotification(_In_ wchar_t* text, _In_ wchar_t* caption, _In_ wchar_t* imagePath) : _text(text), _caption(caption), _imagePath(imagePath) { diff --git a/plugins/Toaster/src/toast_notification.h b/plugins/Toaster/src/toast_notification.h index 2a3d438c74..727966ac8f 100644 --- a/plugins/Toaster/src/toast_notification.h +++ b/plugins/Toaster/src/toast_notification.h @@ -21,7 +21,7 @@ public: COLORREF background; COLORREF foreground; - ToastNotification(_In_ wchar_t* text, _In_ wchar_t* caption = nullptr, _In_ wchar_t* imagePath = nullptr) throw(); + ToastNotification(_In_ wchar_t* text, _In_ wchar_t* caption = nullptr, _In_ wchar_t* imagePath = nullptr); ~ToastNotification(); HRESULT Show(); -- cgit v1.2.3