diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-10 17:54:52 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-10 17:54:52 +0000 |
commit | e4ff24d8abc2af58b91585bc3ce221214d5a148b (patch) | |
tree | fe4a92abacb1a5f399b5a3dc80e9b83bbab0246e /plugins/TopToolBar/topbutton.cpp | |
parent | 8374f9abfa2da0acea6bc14000f90d2085af945a (diff) |
fixes for Clist Modern's skinned toolbar
git-svn-id: http://svn.miranda-ng.org/main/trunk@890 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/topbutton.cpp')
-rw-r--r-- | plugins/TopToolBar/topbutton.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/TopToolBar/topbutton.cpp b/plugins/TopToolBar/topbutton.cpp index 5bcab82017..762b784934 100644 --- a/plugins/TopToolBar/topbutton.cpp +++ b/plugins/TopToolBar/topbutton.cpp @@ -51,10 +51,7 @@ DWORD TopButtonInt::CheckFlags(DWORD Flags) void TopButtonInt::CreateWnd()
{
if ( !(dwFlags & TTBBF_ISSEPARATOR)) {
- hwnd = CreateWindow(MIRANDABUTTONCLASS, _T(""), BS_PUSHBUTTON|WS_CHILD|WS_TABSTOP|SS_NOTIFY, 0, 0, g_ctrl->nButtonWidth, g_ctrl->nButtonHeight, g_ctrl->hWnd, NULL, hInst, 0);
-
- if (g_CustomProc)
- g_CustomProc((HANDLE)id, hwnd, g_CustomProcParam);
+ hwnd = CreateWindow(TTB_BUTTON_CLASS, _T(""), BS_PUSHBUTTON|WS_CHILD|WS_TABSTOP|SS_NOTIFY, 0, 0, g_ctrl->nButtonWidth, g_ctrl->nButtonHeight, g_ctrl->hWnd, NULL, hInst, this);
if (dwFlags & TTBBF_ASPUSHBUTTON)
SendMessage(hwnd, BUTTONSETASPUSHBTN, 1, 0);
|