diff options
Diffstat (limited to 'plugins/TopToolBar/src/toolbar.cpp')
-rw-r--r-- | plugins/TopToolBar/src/toolbar.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/TopToolBar/src/toolbar.cpp b/plugins/TopToolBar/src/toolbar.cpp index 7c1adde848..392cbe1fbe 100644 --- a/plugins/TopToolBar/src/toolbar.cpp +++ b/plugins/TopToolBar/src/toolbar.cpp @@ -637,8 +637,6 @@ int LoadToolbarModule() db_unset(NULL, TTB_OPTDIR, "WarningDone");
- hBmpSeparator = LoadBitmap(hInst, MAKEINTRESOURCE(IDB_SEP));
-
HookEvent(ME_SYSTEM_MODULELOAD, OnPluginLoad);
HookEvent(ME_SYSTEM_MODULEUNLOAD, OnPluginUnload);
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoad);
@@ -680,8 +678,6 @@ int UnloadToolbarModule() {
DestroyHookableEvent(hTTBModuleLoaded);
- DeleteObject(hBmpSeparator);
-
for (int i = 0; i < Buttons.getCount(); i++)
delete Buttons[i];
|