summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Tox/src/resource.h19
-rw-r--r--protocols/Tox/src/tox_options.cpp2
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"));