diff --git a/win32/winapi/src/user32/dialog.rs b/win32/winapi/src/user32/dialog.rs index a93cd68d..6b3eb1d1 100644 --- a/win32/winapi/src/user32/dialog.rs +++ b/win32/winapi/src/user32/dialog.rs @@ -63,7 +63,9 @@ pub fn IsDlgButtonChecked(_ctx: &mut Context, _hDlg: HWND, _nIDButton: i32) -> u #[win32_derive::dllexport] pub fn GetDlgItem(_ctx: &mut Context, _hDlg: HWND, _nIDDlgItem: i32) -> HWND { - todo!() + // Dialog boxes are stubbed out (see DialogBoxParamA), so there are no + // controls to find. + stub!(HWND::null()) } #[win32_derive::dllexport]