Troy Rollo : user: Fix argument type of IsDlgButtonChecked.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 14 07:28:17 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 8818880b43e36497d06beda4e25a1a1038eaa540
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=8818880b43e36497d06beda4e25a1a1038eaa540

Author: Troy Rollo <wine at troy.rollo.name>
Date:   Tue Feb 14 11:38:15 2006 +0100

user: Fix argument type of IsDlgButtonChecked.

---

 dlls/user/dialog.c |    2 +-
 include/winuser.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user/dialog.c b/dlls/user/dialog.c
index c7b4abb..fa73cf6 100644
--- a/dlls/user/dialog.c
+++ b/dlls/user/dialog.c
@@ -1344,7 +1344,7 @@ BOOL WINAPI CheckDlgButton( HWND hwnd, I
 /***********************************************************************
  *		IsDlgButtonChecked (USER32.@)
  */
-UINT WINAPI IsDlgButtonChecked( HWND hwnd, UINT id )
+UINT WINAPI IsDlgButtonChecked( HWND hwnd, int id )
 {
     return (UINT)SendDlgItemMessageW( hwnd, id, BM_GETCHECK, 0, 0 );
 }
diff --git a/include/winuser.h b/include/winuser.h
index de09afe..56cc5e3 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -4482,7 +4482,7 @@ BOOL      WINAPI IsClipboardFormatAvaila
 BOOL      WINAPI IsDialogMessageA(HWND,LPMSG);
 BOOL      WINAPI IsDialogMessageW(HWND,LPMSG);
 #define     IsDialogMessage WINELIB_NAME_AW(IsDialogMessage)
-UINT      WINAPI IsDlgButtonChecked(HWND,UINT);
+UINT      WINAPI IsDlgButtonChecked(HWND,int);
 BOOL      WINAPI IsHungAppWindow(HWND);
 BOOL      WINAPI IsIconic(HWND);
 BOOL      WINAPI IsMenu(HMENU);




More information about the wine-cvs mailing list