summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-19 22:48:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-19 22:48:01 +0000
commit95aa036670a1ce2c461ffd9bd3a586d191ee4675 (patch)
treecd244db18622df3462166ed39593ca924c890f6b /plugins/SpellChecker
parentf6e0db0590e2f8feeacc29d4e50007fbe358f9d5 (diff)
- various icolib fixes;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@1061 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker')
-rw-r--r--plugins/SpellChecker/ardialog.cpp2
-rw-r--r--plugins/SpellChecker/options.cpp2
-rw-r--r--plugins/SpellChecker/spellchecker.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SpellChecker/ardialog.cpp b/plugins/SpellChecker/ardialog.cpp
index dc8a24cd43..6a08585ea1 100644
--- a/plugins/SpellChecker/ardialog.cpp
+++ b/plugins/SpellChecker/ardialog.cpp
@@ -193,7 +193,7 @@ static INT_PTR CALLBACK AddReplacementDlgProc(HWND hwndDlg, UINT msg, WPARAM wPa
HICON hIcon = IcoLib_LoadIcon("spellchecker_enabled");
SendMessage(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM) hIcon);
- IcoLib_ReleaseIcon(hIcon);
+ Skin_ReleaseIcon(hIcon);
SendDlgItemMessage(hwndDlg, IDC_OLD, EM_LIMITTEXT, 256, 0);
SendDlgItemMessage(hwndDlg, IDC_NEW, EM_LIMITTEXT, 256, 0);
diff --git a/plugins/SpellChecker/options.cpp b/plugins/SpellChecker/options.cpp
index 4c8b299266..28886b1126 100644
--- a/plugins/SpellChecker/options.cpp
+++ b/plugins/SpellChecker/options.cpp
@@ -175,7 +175,7 @@ static void DrawItem(HWND hwndDlg, LPDRAWITEMSTRUCT lpdis, Dictionary *dict)
rc.left += ICON_SIZE + 4;
- IcoLib_ReleaseIcon(hFlag);
+ Skin_ReleaseIcon(hFlag);
}
// Draw text
diff --git a/plugins/SpellChecker/spellchecker.cpp b/plugins/SpellChecker/spellchecker.cpp
index f11ad5b2fb..a126070604 100644
--- a/plugins/SpellChecker/spellchecker.cpp
+++ b/plugins/SpellChecker/spellchecker.cpp
@@ -250,7 +250,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam)
if (hFlag != NULL)
{
// Already registered
- IcoLib_ReleaseIcon(hFlag);
+ Skin_ReleaseIcon(hFlag);
continue;
}
@@ -2135,7 +2135,7 @@ LRESULT CALLBACK MenuWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
rc.top = (lpdis->rcItem.bottom + lpdis->rcItem.top - ICON_SIZE) / 2;
DrawIconEx(lpdis->hDC, rc.left, rc.top, hFlag, 16, 16, 0, NULL, DI_NORMAL);
- IcoLib_ReleaseIcon(hFlag);
+ Skin_ReleaseIcon(hFlag);
rc.left += ICON_SIZE + 4;