summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_tbbutton.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-09 21:14:54 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-09 21:14:54 +0000
commit679f5352ac3ff2b3f098a502042d3359d2240415 (patch)
tree94db9288d26312e06d43e1db52a5c7bbc6f9014c /plugins/Clist_modern/modern_tbbutton.cpp
parentcee90240b1301ad373e98fe874a924fcdbb83447 (diff)
minor fixes for toptoolbar
git-svn-id: http://svn.miranda-ng.org/main/trunk@885 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_tbbutton.cpp')
-rw-r--r--plugins/Clist_modern/modern_tbbutton.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Clist_modern/modern_tbbutton.cpp b/plugins/Clist_modern/modern_tbbutton.cpp
index ca34872e89..e6c75614ad 100644
--- a/plugins/Clist_modern/modern_tbbutton.cpp
+++ b/plugins/Clist_modern/modern_tbbutton.cpp
@@ -408,6 +408,10 @@ static LRESULT CALLBACK ToolbarButtonProc(HWND hwndDlg, UINT msg, WPARAM wParam
}
break;
+ case WM_ERASEBKGND:
+ lpSBData->lResult = 1;
+ return 1;
+
case MBM_SETICOLIBHANDLE:
if (lpSBData->hIconPrivate) {
DestroyIcon(lpSBData->hIconPrivate);