diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-17 15:42:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-17 15:42:14 +0000 |
commit | d6964f7bb1c2afc8d67905fa38ac9a3df766b807 (patch) | |
tree | c1faf62ec8a37d184fce91df7fc07243ec738f5d /plugins/Import/src | |
parent | 69f3e7d05fcdab94dc78e52af620d46191fafb37 (diff) |
obsolete services extincted
git-svn-id: http://svn.miranda-ng.org/main/trunk@14237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Import/src')
-rw-r--r-- | plugins/Import/src/import.h | 2 | ||||
-rw-r--r-- | plugins/Import/src/utils.cpp | 2 | ||||
-rw-r--r-- | plugins/Import/src/wizard.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Import/src/import.h b/plugins/Import/src/import.h index 1b6d55710e..572ac475f2 100644 --- a/plugins/Import/src/import.h +++ b/plugins/Import/src/import.h @@ -105,6 +105,6 @@ extern int nImportOptions; extern TCHAR importFile[];
extern time_t dwSinceDate;
-HICON GetIcon(int iIconId, int size = 0);
+HICON GetIcon(int iIconId, bool size = false);
HANDLE GetIconHandle(int iIconId);
void RegisterIcons(void);
diff --git a/plugins/Import/src/utils.cpp b/plugins/Import/src/utils.cpp index 826faa8da7..180294196b 100644 --- a/plugins/Import/src/utils.cpp +++ b/plugins/Import/src/utils.cpp @@ -216,7 +216,7 @@ static IconItem iconList[] = { LPGEN("Import..."), "import_main", IDI_IMPORT }
};
-HICON GetIcon(int iIconId, int size)
+HICON GetIcon(int iIconId, bool size)
{
for (int i = 0; i < SIZEOF(iconList); i++)
if (iconList[i].defIconID == iIconId)
diff --git a/plugins/Import/src/wizard.cpp b/plugins/Import/src/wizard.cpp index 0bd02ced23..86b419365d 100644 --- a/plugins/Import/src/wizard.cpp +++ b/plugins/Import/src/wizard.cpp @@ -100,7 +100,7 @@ INT_PTR CALLBACK WizardDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lP ShowWindow(hwndPage, SW_SHOW);
ShowWindow(hdlg, SW_SHOW);
SendMessage(hdlg, WM_SETICON, ICON_SMALL, (LPARAM)GetIcon(IDI_IMPORT));
- SendMessage(hdlg, WM_SETICON, ICON_BIG, (LPARAM)GetIcon(IDI_IMPORT, 32));
+ SendMessage(hdlg, WM_SETICON, ICON_BIG, (LPARAM)GetIcon(IDI_IMPORT, true));
return TRUE;
case WIZM_GOTOPAGE:
|