diff options
Diffstat (limited to 'plugins/SpellChecker')
-rw-r--r-- | plugins/SpellChecker/ardialog.cpp | 2 | ||||
-rw-r--r-- | plugins/SpellChecker/options.cpp | 2 | ||||
-rw-r--r-- | plugins/SpellChecker/spellchecker.cpp | 4 |
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; |