summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/optionsctrlimpl_combo.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-05 12:52:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-05 12:52:30 +0000
commit3576b67db9fa0a3d8d5c1747cc3560504d31d125 (patch)
treef6a6cb9916cbf1aab83bac572fec8822f6ad065e /plugins/HistoryStats/src/optionsctrlimpl_combo.cpp
parent73e6231455372205e912963083624aaa371bab0b (diff)
- adaptation for standard Windows ways of handling Unicode;
- obsoleted code removed; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@8407 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/optionsctrlimpl_combo.cpp')
-rw-r--r--plugins/HistoryStats/src/optionsctrlimpl_combo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/HistoryStats/src/optionsctrlimpl_combo.cpp b/plugins/HistoryStats/src/optionsctrlimpl_combo.cpp
index a019bda875..e75a635e14 100644
--- a/plugins/HistoryStats/src/optionsctrlimpl_combo.cpp
+++ b/plugins/HistoryStats/src/optionsctrlimpl_combo.cpp
@@ -39,14 +39,14 @@ ext::string OptionsCtrlImpl::Combo::getCombinedText()
{
ext::string strTemp = m_strLabel;
- strTemp += muT(": ");
+ strTemp += _T(": ");
strTemp += m_Items[m_nSelected];
return strTemp;
}
}
-OptionsCtrlImpl::Combo::Combo(OptionsCtrlImpl* pCtrl, Item* pParent, const mu_text* szLabel, DWORD dwFlags, DWORD dwData)
+OptionsCtrlImpl::Combo::Combo(OptionsCtrlImpl* pCtrl, Item* pParent, const TCHAR* szLabel, DWORD dwFlags, DWORD dwData)
: Item(pCtrl, itCombo, szLabel, dwFlags, dwData), m_hComboWnd(NULL), m_nSelected(-1)
{
m_bDisableChildsOnIndex0 = bool_(dwFlags & OCF_DISABLECHILDSONINDEX0);
@@ -86,7 +86,7 @@ void OptionsCtrlImpl::Combo::onSelect()
DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST;
if (hTempWnd = CreateWindowEx(
- WS_EX_CLIENTEDGE, WC_COMBOBOX, muT(""), dwStyle,
+ WS_EX_CLIENTEDGE, WC_COMBOBOX, _T(""), dwStyle,
r.left, r.top, r.right - r.left, (r.bottom - r.top) * 20,
m_pCtrl->m_hTree, reinterpret_cast<HMENU>(ccCombo), g_hInst, NULL))
{
@@ -177,7 +177,7 @@ void OptionsCtrlImpl::Combo::childAdded(Item* pChild)
}
}
-void OptionsCtrlImpl::Combo::setLabel(const mu_text* szLabel)
+void OptionsCtrlImpl::Combo::setLabel(const TCHAR* szLabel)
{
m_strLabel = szLabel;
@@ -188,7 +188,7 @@ void OptionsCtrlImpl::Combo::setLabel(const mu_text* szLabel)
}
}
-void OptionsCtrlImpl::Combo::addItem(const mu_text* szItem)
+void OptionsCtrlImpl::Combo::addItem(const TCHAR* szItem)
{
m_Items.push_back(szItem);
}