From 0701beccdc0d9641be2c535fb920a5f96e9bb4a2 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Mon, 25 Aug 2014 18:38:40 +0000 Subject: Tox: fixed resource defines git-svn-id: http://svn.miranda-ng.org/main/trunk@10321 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/resource.h | 19 +++++++++---------- protocols/Tox/src/tox_options.cpp | 2 -- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/protocols/Tox/src/resource.h b/protocols/Tox/src/resource.h index 0f9ef1130d..d60361a5ea 100644 --- a/protocols/Tox/src/resource.h +++ b/protocols/Tox/src/resource.h @@ -2,7 +2,6 @@ // Microsoft Visual C++ generated include file. // Used by e:\Projects\C++\MirandaNG\protocols\Tox\res\resource.rc // -#define IDD_SEARCH 138 #define IDI_TOX 1000 #define IDD_PROFILE_MANAGER 1001 #define IDC_TOXID 1002 @@ -10,15 +9,15 @@ #define IDC_CLIPBOARD 1004 #define IDD_OPTIONS_MAIN 1005 #define IDC_CREATE_NEW 1006 -#define IDC_PROFILE_PATH 1006 -#define IDC_SEARCH 1006 -#define IDC_USE_EXISTING 1007 -#define IDC_ADDTOLIST 1007 -#define IDC_BROWSE_PROFILE 1009 -#define IDC_NAME 1010 -#define IDC_GROUP 1011 -#define IDC_DISABLE_UDP 1012 -#define IDC_DISABLE_IPV6 1013 +#define IDC_PROFILE_PATH 1007 +#define IDC_SEARCH 1008 +#define IDC_USE_EXISTING 1009 +#define IDC_BROWSE_PROFILE 1010 +#define IDC_NAME 1011 +#define IDC_GROUP 1012 +#define IDC_DISABLE_UDP 1013 +#define IDC_DISABLE_IPV6 1014 +#define IDD_SEARCH 1015 // Next default values for new objects // diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp index b7754f965b..2c920f95b2 100644 --- a/protocols/Tox/src/tox_options.cpp +++ b/protocols/Tox/src/tox_options.cpp @@ -12,8 +12,6 @@ INT_PTR CToxProto::SearchDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa proto = (CToxProto*)lParam; SetWindowLongPtr(hwnd, GWLP_USERDATA, lParam); - CheckDlgButton(hwnd, IDC_ADDTOLIST, 1); - //ShowWindow(GetDlgItem(GetParent(hwnd), 1408/*IDC_BYCUSTOM*/), SW_HIDE); //ShowWindow(GetDlgItem(GetParent(hwnd), 1402/*IDC_ADVANCEDGROUP*/), SW_HIDE); SetDlgItemText(GetParent(hwnd), 1408/*IDC_BYCUSTOM*/, TranslateT("Query")); -- cgit v1.2.3