From 0fca8ceb4d37fbb3e82b8d39934b682a5370d0a0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 14 Jul 2018 13:32:37 +0300 Subject: unused constant removed --- plugins/Clist_blind/src/resource.h | 1 - plugins/Clist_modern/res/resource.rc | 28 ---------------------------- plugins/Clist_modern/src/resource.h | 1 - plugins/Clist_nicer/src/clui.cpp | 1 - plugins/Clist_nicer/src/resource.h | 1 - src/core/stdclist/src/resource.h | 1 - 6 files changed, 33 deletions(-) diff --git a/plugins/Clist_blind/src/resource.h b/plugins/Clist_blind/src/resource.h index c5f4824b5d..260e667fef 100644 --- a/plugins/Clist_blind/src/resource.h +++ b/plugins/Clist_blind/src/resource.h @@ -133,7 +133,6 @@ #define IDC_T_GROUP 1663 #define IDC_T_DIVIDER 1664 #define IDC_T_INFO 1665 -#define ID_ICQ_EXIT 40001 // Next default values for new objects // diff --git a/plugins/Clist_modern/res/resource.rc b/plugins/Clist_modern/res/resource.rc index eaf6fff0d7..8a32e977bc 100644 --- a/plugins/Clist_modern/res/resource.rc +++ b/plugins/Clist_modern/res/resource.rc @@ -793,34 +793,6 @@ IDR_TGA_DEFAULT_SKIN TGA "Back.tga" IDR_MSF_DEFAULT_SKIN MSF "skin.msf" -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -IDR_CLISTMENU MENU -BEGIN - POPUP "&Main menu" - BEGIN - MENUITEM SEPARATOR - MENUITEM "E&xit", ID_ICQ_EXIT - END - POPUP "&Status" - BEGIN - MENUITEM "&Offline\tCtrl+0", ID_STATUS_OFFLINE, CHECKED - MENUITEM "On&line\tCtrl+1", ID_STATUS_ONLINE - MENUITEM "&Away\tCtrl+2", ID_STATUS_AWAY - MENUITEM "&Not available\tCtrl+3", ID_STATUS_NA - MENUITEM "Occ&upied\tCtrl+4", ID_STATUS_OCCUPIED - MENUITEM "&Do not disturb\tCtrl+5", ID_STATUS_DND - MENUITEM "&Free for chat\tCtrl+6", ID_STATUS_FREECHAT - MENUITEM "&Invisible\tCtrl+7", ID_STATUS_INVISIBLE - MENUITEM "On the &phone\tCtrl+8", ID_STATUS_ONTHEPHONE - MENUITEM "Out to &lunch\tCtrl+9", ID_STATUS_OUTTOLUNCH - END -END - - #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // diff --git a/plugins/Clist_modern/src/resource.h b/plugins/Clist_modern/src/resource.h index e2aa094406..c8872ff9c2 100644 --- a/plugins/Clist_modern/src/resource.h +++ b/plugins/Clist_modern/src/resource.h @@ -481,7 +481,6 @@ #define IDC_SELECTMODE 19126 #define IDC_CONFIGUREMODES 19127 #define IDC_USEGROUPS 19128 -#define ID_ICQ_EXIT 40001 #define POPUP_NEWSUBGROUP 40004 #define POPUP_GROUPSHOWOFFLINE 40019 #define IDC_FRAME_META 40054 diff --git a/plugins/Clist_nicer/src/clui.cpp b/plugins/Clist_nicer/src/clui.cpp index d025bd8496..341a8134cc 100644 --- a/plugins/Clist_nicer/src/clui.cpp +++ b/plugins/Clist_nicer/src/clui.cpp @@ -1473,7 +1473,6 @@ skipbg: buttons_done: switch (LOWORD(wParam)) { case ID_TRAY_EXIT: - case ID_ICQ_EXIT: cfg::shutDown = 1; if (Miranda_OkToExit()) DestroyWindow(hwnd); diff --git a/plugins/Clist_nicer/src/resource.h b/plugins/Clist_nicer/src/resource.h index 176986c10d..dba210f3bb 100644 --- a/plugins/Clist_nicer/src/resource.h +++ b/plugins/Clist_nicer/src/resource.h @@ -282,7 +282,6 @@ #define IDC_GROUPALIGN 25499 #define IDC_BORDERSTYLE 25501 #define IDC_CURVIEWMODE2 25503 -#define ID_ICQ_EXIT 40001 #define IDC_STATIC7 40002 #define POPUP_HIDEEMPTYGROUPS 40003 #define POPUP_HIDEOFFLINE 40005 diff --git a/src/core/stdclist/src/resource.h b/src/core/stdclist/src/resource.h index 2bb3c4ef25..7315124d9c 100644 --- a/src/core/stdclist/src/resource.h +++ b/src/core/stdclist/src/resource.h @@ -129,7 +129,6 @@ #define IDC_WINCOLOUR 1659 #define IDC_ICONBLINK 1660 #define IDC_STMSDELAY 1661 -#define ID_ICQ_EXIT 40001 // Next default values for new objects // -- cgit v1.2.3