diff options
Diffstat (limited to 'plugins/TopToolBar/toolbar.cpp')
-rw-r--r-- | plugins/TopToolBar/toolbar.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/TopToolBar/toolbar.cpp b/plugins/TopToolBar/toolbar.cpp index 52bcb09c97..3daa11df5f 100644 --- a/plugins/TopToolBar/toolbar.cpp +++ b/plugins/TopToolBar/toolbar.cpp @@ -20,14 +20,12 @@ int backgroundBmpUse; static CRITICAL_SECTION csButtonsHook;
static int hFrameTopWindow = -1;
-/*
int sortfunc(const TopButtonInt* a, const TopButtonInt* b)
{
return a->arrangedpos - b->arrangedpos;
}
-*/
-LIST<TopButtonInt> Buttons(8);
+LIST<TopButtonInt> Buttons(8, sortfunc);
void lockbut()
{
|