From fdb780a69d47d6438c0116a208afad2e94476e95 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Thu, 1 Oct 2020 15:26:49 +0200 Subject: custom button rework --- alf/alfmessagedlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alf/alfmessagedlg.cpp') diff --git a/alf/alfmessagedlg.cpp b/alf/alfmessagedlg.cpp index 554d55d..a16b220 100644 --- a/alf/alfmessagedlg.cpp +++ b/alf/alfmessagedlg.cpp @@ -59,7 +59,7 @@ ALF_MessageDlg_HandleAddButton(ALFMessageDlgPriv *priv, HWND hwnd, WORD id, cons { (void)hwnd; - HWND hwndBtn = ALF_AddNativeButton(hwnd, id, 2 * priv->nButtons + 2, 2, text); + HWND hwndBtn = ALF_AddButton(hwnd, id, 2 * priv->nButtons + 2, 2, text); ALF_Layout_SetColumnMinSize(hwnd, 2 * priv->nButtons + 3, 525); ALF_Layout_SetControlSpan(hwnd, priv->hwndTextWrapper, priv->nButtons * 2 + 3, 1); -- cgit v1.2.3