summaryrefslogtreecommitdiff
path: root/plugins/Modernb/modern_xptheme.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 11:13:37 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 11:13:37 +0000
commit721aea0764451e985d575236205808bbef298244 (patch)
tree3a1c566c364e5fc2fff86b87d494497e7de6f93d /plugins/Modernb/modern_xptheme.cpp
parent1784cdf49b8196219563795cf3b11b7c4c2a6746 (diff)
one more "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Modernb/modern_xptheme.cpp')
-rw-r--r--plugins/Modernb/modern_xptheme.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/Modernb/modern_xptheme.cpp b/plugins/Modernb/modern_xptheme.cpp
index 14e9614304..599cb55010 100644
--- a/plugins/Modernb/modern_xptheme.cpp
+++ b/plugins/Modernb/modern_xptheme.cpp
@@ -238,10 +238,6 @@ HRESULT xpt_DrawTheme(XPTHANDLE xptHandle, HWND hwnd, HDC hdc, int type, int sta
HRESULT xpt_DrawThemeText(XPTHANDLE xptHandle, HDC hdc, int type, int state, LPCTSTR lpStr, int len, DWORD flag1, DWORD flag2, const RECT * textRect)
{
-#ifndef _UNICODE
- ske_DrawText(hdc,lpStr,len, (RECT*)textRect, flag1);
- return S_OK;
-#else
HRESULT res=S_FALSE;
xptcheck S_FALSE;
xptlock();
@@ -251,7 +247,6 @@ HRESULT xpt_DrawThemeText(XPTHANDLE xptHandle, HDC hdc, int type, int state, LPC
ske_DrawText(hdc,lpStr,len, (RECT*)textRect, flag1);
xptunlock();
return S_OK;
-#endif
}
BOOL xpt_EnableThemeDialogTexture(HWND hwnd, DWORD flags)
{