Index: include/commdlg.h =================================================================== RCS file: /home/wine/wine/include/commdlg.h,v retrieving revision 1.36 diff -u -r1.36 commdlg.h --- include/commdlg.h 17 Aug 2002 18:31:12 -0000 1.36 +++ include/commdlg.h 16 Sep 2002 17:43:37 -0000 @@ -135,7 +135,12 @@ typedef struct { DWORD lStructSize; HWND hwndOwner; - HWND hInstance; /* Should be an HINSTANCE but MS made a typo */ + /* Should be an HINSTANCE but MS made a typo */ +#ifdef __WINE__ + HINSTANCE hInstance; +#else + HWND hInstance; +#endif DWORD rgbResult; LPDWORD lpCustColors; DWORD Flags; @@ -148,7 +153,12 @@ typedef struct { DWORD lStructSize; HWND hwndOwner; - HWND hInstance; /* Should be an HINSTANCE but MS made a typo */ + /* Should be an HINSTANCE but MS made a typo */ +#ifdef __WINE__ + HINSTANCE hInstance; +#else + HWND hInstance; +#endif DWORD rgbResult; LPDWORD lpCustColors; DWORD Flags;