From 207f7019e6f5fda0bcf3978082fe126f7c5a3d13 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 1 Jun 2000 23:15:49 +0000 Subject: [PATCH] Louis-Philippe Gagnon (of Macadamian for Corel) Static controls weren't receiving WM_LBUTTONDBLCLK messages because the Static window class was registered without the CS_DBLCLKS style (which it has in Windows). --- controls/widgets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/widgets.c b/controls/widgets.c index 26d98ab5659..2eabec438dd 100644 --- a/controls/widgets.c +++ b/controls/widgets.c @@ -46,7 +46,7 @@ static WNDCLASSA WIDGETS_BuiltinClasses[BIC32_NB_CLASSES] = { CS_GLOBALCLASS | CS_SAVEBITS, PopupMenuWndProc, 0, sizeof(HMENU), 0, 0, (HCURSOR)IDC_ARROWA, NULL_BRUSH, 0, POPUPMENU_CLASS_NAME }, /* BIC32_STATIC */ - { CS_GLOBALCLASS | CS_PARENTDC, StaticWndProc, + { CS_GLOBALCLASS | CS_DBLCLKS | CS_PARENTDC, StaticWndProc, 0, sizeof(STATICINFO), 0, 0, (HCURSOR)IDC_ARROWA, 0, 0, "Static" }, /* BIC32_SCROLL */ { CS_GLOBALCLASS | CS_DBLCLKS | CS_VREDRAW | CS_HREDRAW | CS_PARENTDC,