summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/optionsctrlimpl.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
commitcddcd7483a7c472598af098e759e5d309024f606 (patch)
treeb0a227d6e087c41958cc84d27bc323353248aae5 /plugins/HistoryStats/src/optionsctrlimpl.cpp
parent1039b2829a264280493ba0fa979214fe024dc70c (diff)
DWORD -> uint32_t
Diffstat (limited to 'plugins/HistoryStats/src/optionsctrlimpl.cpp')
-rw-r--r--plugins/HistoryStats/src/optionsctrlimpl.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/HistoryStats/src/optionsctrlimpl.cpp b/plugins/HistoryStats/src/optionsctrlimpl.cpp
index b9a7927f95..a4c12ad133 100644
--- a/plugins/HistoryStats/src/optionsctrlimpl.cpp
+++ b/plugins/HistoryStats/src/optionsctrlimpl.cpp
@@ -426,7 +426,7 @@ OptionsCtrlImpl::~OptionsCtrlImpl()
LRESULT OptionsCtrlImpl::onWMCreate(CREATESTRUCT* pCS)
{
- DWORD dwStyle = 0;
+ uint32_t dwStyle = 0;
if (!(pCS->style & OCS_ALLOWDRAGDROP))
dwStyle |= TVS_DISABLEDRAGDROP;
@@ -477,7 +477,7 @@ void OptionsCtrlImpl::onWMDestroy()
void OptionsCtrlImpl::onNMClick()
{
- DWORD dwPoint = GetMessagePos();
+ uint32_t dwPoint = GetMessagePos();
POINTS pts = MAKEPOINTS(dwPoint);
TVHITTESTINFO hti = { { pts.x, pts.y } };
@@ -861,7 +861,7 @@ void OptionsCtrlImpl::onOCMEnableItem(HTREEITEM hItem, bool bEnable)
getItem(hItem)->setEnabled(bEnable);
}
-DWORD OptionsCtrlImpl::onOCMGetItemData(HTREEITEM hItem)
+uint32_t OptionsCtrlImpl::onOCMGetItemData(HTREEITEM hItem)
{
return getItem(hItem)->m_dwData;
}
@@ -1002,7 +1002,7 @@ void OptionsCtrlImpl::onOCMSelectItem(HTREEITEM hItem)
TreeView_SelectItem(m_hTree, hItem);
}
-HTREEITEM OptionsCtrlImpl::onOCMGetItem(HTREEITEM hItem, DWORD dwFlag)
+HTREEITEM OptionsCtrlImpl::onOCMGetItem(HTREEITEM hItem, uint32_t dwFlag)
{
switch (dwFlag) {
case OCGI_FIRST:
@@ -1072,7 +1072,7 @@ void OptionsCtrlImpl::onOCMSetDateTimeNone(HTREEITEM hDateTime)
reinterpret_cast<DateTime*>(pDateTime)->setNone();
}
-DWORD OptionsCtrlImpl::onOCMGetDateTime(HTREEITEM hDateTime, BOOL* pbNone)
+uint32_t OptionsCtrlImpl::onOCMGetDateTime(HTREEITEM hDateTime, BOOL* pbNone)
{
Item* pDateTime = getItem(hDateTime);
@@ -1084,7 +1084,7 @@ DWORD OptionsCtrlImpl::onOCMGetDateTime(HTREEITEM hDateTime, BOOL* pbNone)
return reinterpret_cast<DateTime*>(pDateTime)->getTimestamp();
}
-void OptionsCtrlImpl::onOCMSetDateTime(HTREEITEM hDateTime, DWORD dwTimestamp)
+void OptionsCtrlImpl::onOCMSetDateTime(HTREEITEM hDateTime, uint32_t dwTimestamp)
{
Item* pDateTime = getItem(hDateTime);
@@ -1111,7 +1111,7 @@ void OptionsCtrlImpl::onOCMSetItemColor(HTREEITEM hColor, COLORREF crColor)
reinterpret_cast<Color*>(pColor)->setColor(crColor);
}
-void OptionsCtrlImpl::insertItem(Item* pParent, Item* pItem, const wchar_t* szNodeText, DWORD dwFlags, int iImage)
+void OptionsCtrlImpl::insertItem(Item* pParent, Item* pItem, const wchar_t* szNodeText, uint32_t dwFlags, int iImage)
{
assert(!pParent || pParent->m_hItem);
assert(pItem);