diff options
author | George Hazan <ghazan@miranda.im> | 2022-12-16 19:19:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-12-16 19:21:20 +0300 |
commit | 5ff924c744b83b488ec8e3aef487ca2ad6c6326b (patch) | |
tree | 1e0e8f146e9ab8ecc063d2c9b509b252cc6e0a74 /plugins | |
parent | 483fcc6dd94ab81278143a07b19be585a161aa4c (diff) |
minor code cleaning
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/PluginUpdater/src/DlgListNew.cpp | 2 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/DlgUpdate.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/DlgListNew.cpp b/plugins/PluginUpdater/src/DlgListNew.cpp index c5b96495bc..86b19f96b9 100644 --- a/plugins/PluginUpdater/src/DlgListNew.cpp +++ b/plugins/PluginUpdater/src/DlgListNew.cpp @@ -170,7 +170,7 @@ public: m_list.EnableGroupView(true);
//////////////////////////////////////////////////////////////////////////////////////
- m_list.SendMsg(LVM_SETEXTENDEDLISTVIEWSTYLE, 0, LVS_EX_FULLROWSELECT | LVS_EX_SUBITEMIMAGES | LVS_EX_CHECKBOXES | LVS_EX_LABELTIP);
+ m_list.SetExtendedListViewStyle(LVS_EX_FULLROWSELECT | LVS_EX_SUBITEMIMAGES | LVS_EX_CHECKBOXES | LVS_EX_LABELTIP);
FillList();
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp index 7ea14a14e4..09e0a19a3e 100644 --- a/plugins/PluginUpdater/src/DlgUpdate.cpp +++ b/plugins/PluginUpdater/src/DlgUpdate.cpp @@ -173,7 +173,7 @@ public: bool OnInitDialog() override
{
hwndDialog = m_hwnd;
- m_list.SendMsg(LVM_SETEXTENDEDLISTVIEWSTYLE, 0, LVS_EX_FULLROWSELECT | LVS_EX_CHECKBOXES);
+ m_list.SetExtendedListViewStyle(LVS_EX_FULLROWSELECT | LVS_EX_CHECKBOXES);
Window_SetIcon_IcoLib(m_hwnd, g_plugin.getIconHandle(IDI_MENU));
|