summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/ui_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src/ui_utils.cpp')
-rw-r--r--protocols/IRCG/src/ui_utils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/IRCG/src/ui_utils.cpp b/protocols/IRCG/src/ui_utils.cpp
index d7c8e4b6b6..b9e264d3c7 100644
--- a/protocols/IRCG/src/ui_utils.cpp
+++ b/protocols/IRCG/src/ui_utils.cpp
@@ -558,7 +558,8 @@ CCtrlMButton::CCtrlMButton( CDlgBase* dlg, int ctrlId, int iCoreIcon, const char
CCtrlMButton::~CCtrlMButton()
{
- if ( m_hIcon ) CallService( MS_SKIN2_RELEASEICON, (WPARAM)m_hIcon, 0 );
+ if (m_hIcon)
+ Skin_ReleaseIcon(m_hIcon);
}
void CCtrlMButton::OnInit()