From 827a3d8f363cb252460c5d94b9c11189c60e8437 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 24 Feb 2013 08:54:54 +0000 Subject: added precompiled header added version info git-svn-id: http://svn.miranda-ng.org/main/trunk@3748 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_tree/src/Logger.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/Dbx_tree/src/Logger.cpp') diff --git a/plugins/Dbx_tree/src/Logger.cpp b/plugins/Dbx_tree/src/Logger.cpp index 551824d905..7ca9452460 100644 --- a/plugins/Dbx_tree/src/Logger.cpp +++ b/plugins/Dbx_tree/src/Logger.cpp @@ -20,6 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "Interface.h" #include "Logger.h" #include @@ -96,7 +97,7 @@ CLogger::TLevel CLogger::ShowMessage(TLevel CanAsyncTill) p->hwndOwner = 0; p->hInstance = NULL; p->lpszText = msg; - p->lpszCaption = _T(gInternalNameLong); + p->lpszCaption = _T(__PLUGIN_NAME); p->dwStyle = MB_OK | (m_Level >= logERROR)?MB_ICONHAND:((m_Level == logWARNING)?MB_ICONWARNING:MB_ICONINFORMATION); p->lpszIcon = NULL; p->dwContextHelpId = 0; @@ -105,7 +106,7 @@ CLogger::TLevel CLogger::ShowMessage(TLevel CanAsyncTill) _beginthread(&CLogger::MessageBoxAsync, 0, p); } else { - MessageBox(0, msg, _T(gInternalNameLong), MB_OK | (m_Level >= logERROR)?MB_ICONHAND:((m_Level == logWARNING)?MB_ICONWARNING:MB_ICONINFORMATION)); + MessageBox(0, msg, _T(__PLUGIN_NAME), MB_OK | (m_Level >= logERROR)?MB_ICONHAND:((m_Level == logWARNING)?MB_ICONWARNING:MB_ICONINFORMATION)); delete [] msg; } -- cgit v1.2.3