diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-10 11:51:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-10 11:51:00 +0000 |
commit | 03758f8f918f392386a1dd7a1c7a795927f8c221 (patch) | |
tree | dc4dede8653397df0275f49e730b0d44605d7a7c /plugins/TopToolBar/src/InternalButtons.cpp | |
parent | 1416051048756ab769de52ab5eb67a31e41524fd (diff) |
- ME_TTB_INITBUTTONS event considered useless;
- clist_modern & clist_nicer are trained to reload TTB buttons when TopToolBar plugin is loaded dynamically;
- TTB processing code slightly reordered
git-svn-id: http://svn.miranda-ng.org/main/trunk@3953 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/src/InternalButtons.cpp')
-rw-r--r-- | plugins/TopToolBar/src/InternalButtons.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TopToolBar/src/InternalButtons.cpp b/plugins/TopToolBar/src/InternalButtons.cpp index 0662c540bf..eaf07853b6 100644 --- a/plugins/TopToolBar/src/InternalButtons.cpp +++ b/plugins/TopToolBar/src/InternalButtons.cpp @@ -79,7 +79,7 @@ INT_PTR TTBInternalSoundsOnOff(WPARAM wParam, LPARAM lParam) ///////////////////////////////////////////////////////////////////////////////
-int InitInternalButtons(WPARAM, LPARAM)
+void InitInternalButtons()
{
hwndContactTree = (HWND)CallService(MS_CLUI_GETHWNDTREE, 0, 0);
@@ -119,5 +119,4 @@ int InitInternalButtons(WPARAM, LPARAM) db_get_b(NULL, "Skin", "UseSound", 1) ? TTBST_RELEASED : TTBST_PUSHED);
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, OnSettingChanging);
- return 0;
}
|