summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/utils.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-20 12:18:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-20 12:18:34 +0000
commit270a21131e48439a96265a38a32e793a9d5f1938 (patch)
tree106d3923571da8df441b062334c1dc66c7eabcaf /plugins/TabSRMM/src/utils.h
parent14fa6ff7baf4b7691eca6a41e756c5d3375ad000 (diff)
minus some horrors in tabs
git-svn-id: http://svn.miranda-ng.org/main/trunk@5760 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/utils.h')
-rw-r--r--plugins/TabSRMM/src/utils.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/utils.h b/plugins/TabSRMM/src/utils.h
index 8254dbf6dc..eca81a3ccd 100644
--- a/plugins/TabSRMM/src/utils.h
+++ b/plugins/TabSRMM/src/utils.h
@@ -96,7 +96,7 @@ public:
static HICON TSAPI iconFromAvatar (const TWindowData *dat);
static void TSAPI getIconSize (HICON hIcon, int& sizeX, int& sizeY);
- static void TSAPI extractResource (const HMODULE h, const UINT uID, const TCHAR *tszName, const TCHAR *tszPath,
+ static bool TSAPI extractResource (const HMODULE h, const UINT uID, const TCHAR *tszName, const TCHAR *tszPath,
const TCHAR *tszFilename, bool fForceOverwrite);
static void TSAPI scaleAvatarHeightLimited (const HBITMAP hBm, double& dNewWidth, double& dNewHeight, const LONG maxHeight);
@@ -247,8 +247,7 @@ public:
LRESULT ShowDialog () const;
private:
- std::basic_string<wchar_t>* m_szTitle;
- std::basic_string<wchar_t>* m_szText;
+ ptrT m_szTitle, m_szText;
UINT m_uId;
HFONT m_hFontCaption;
DWORD m_dwFlags;