Commit 2484b731 authored by Carl Raffaele's avatar Carl Raffaele Committed by Alexandre Julliard

comdlg32: Removed 16 bit dependency.

parent d8a5bc92
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#define _WINE_DLL_CDLG_H #define _WINE_DLL_CDLG_H
#include "dlgs.h" #include "dlgs.h"
#include "wownt32.h"
/* Common dialogs implementation globals */ /* Common dialogs implementation globals */
#define COMDLG32_Atom ((ATOM)0xa000) /* MS uses this one to identify props */ #define COMDLG32_Atom ((ATOM)0xa000) /* MS uses this one to identify props */
......
...@@ -754,7 +754,7 @@ static LRESULT CFn_WMInitDialog(HWND hDlg, LPARAM lParam, LPCHOOSEFONTW lpcf) ...@@ -754,7 +754,7 @@ static LRESULT CFn_WMInitDialog(HWND hDlg, LPARAM lParam, LPCHOOSEFONTW lpcf)
{ {
j=SendDlgItemMessageW(hDlg,cmb2,CB_SETCURSEL,j,0); j=SendDlgItemMessageW(hDlg,cmb2,CB_SETCURSEL,j,0);
SendMessageW(hDlg,WM_COMMAND,cmb2, SendMessageW(hDlg,WM_COMMAND,cmb2,
MAKELONG(HWND_16(GetDlgItem(hDlg,cmb2)),CBN_SELCHANGE)); MAKELONG(LOWORD(GetDlgItem(hDlg,cmb2)),CBN_SELCHANGE));
} }
} }
CFn_ReleaseDC(lpcf, hdc); CFn_ReleaseDC(lpcf, hdc);
......
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