summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/toolbar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-22 12:49:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-22 12:49:22 +0000
commit724eb80f574a1a46ade6d58d21ce1296064f44a7 (patch)
treee6a1631c7f627a718f90b3399f444a8c5187e084 /plugins/TopToolBar/toolbar.cpp
parentd37289b1e279731fed35dea7752412bbd99abe61 (diff)
unused option removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@527 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/toolbar.cpp')
-rw-r--r--plugins/TopToolBar/toolbar.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/TopToolBar/toolbar.cpp b/plugins/TopToolBar/toolbar.cpp
index b890c1f67d..a6869d579b 100644
--- a/plugins/TopToolBar/toolbar.cpp
+++ b/plugins/TopToolBar/toolbar.cpp
@@ -440,10 +440,6 @@ INT_PTR TTBGetOptions(WPARAM wParam, LPARAM lParam)
retval |= TTBBF_PUSHED;
break;
- case TTBO_POS:
- retval = b->arrangedpos;
- break;
-
case TTBO_TIPNAME:
retval = (INT_PTR)b->tooltip;
break;
@@ -512,18 +508,6 @@ INT_PTR TTBSetOptions(WPARAM wParam, LPARAM lParam)
retval = 1;
break;
- case TTBO_POS:
- if (lParam >= 0 || lParam < Buttons.getCount()) {
- TopButtonInt tempttb = *Buttons[lParam];
- *Buttons[lParam] = *b;
- *b = tempttb;
-
- ArrangeButtons();
- // save button setting
- retval = 1;
- }
- break;
-
case TTBO_TIPNAME:
if (lParam == 0)
break;