Commit 7984e706 authored by Hirofumi Katayama's avatar Hirofumi Katayama Committed by Alexandre Julliard

wordpad: Accept double-click in date and time dialog.

parent a43adb40
......@@ -110,7 +110,7 @@ CAPTION "Date and time"
FONT 10, "MS Sans Serif"
BEGIN
LTEXT "Available formats",0,3,2,100,15
LISTBOX IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT
LISTBOX IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT | LBS_NOTIFY
PUSHBUTTON "&OK",IDOK,87,12,40,12
PUSHBUTTON "&Cancel",IDCANCEL,87,26,40,12
END
......
......@@ -1373,6 +1373,11 @@ static INT_PTR CALLBACK datetime_proc(HWND hWnd, UINT message, WPARAM wParam, LP
case WM_COMMAND:
switch(LOWORD(wParam))
{
case IDC_DATETIME:
if (HIWORD(wParam) != LBN_DBLCLK)
break;
/* Fall through */
case IDOK:
{
LRESULT index;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment