Changeset 21808 for branches/gcc-kmk/src/user32/win32dlg.cpp
- Timestamp:
- Nov 14, 2011, 11:03:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/user32/win32dlg.cpp
r21720 r21808 17 17 #include <string.h> 18 18 #include <misc.h> 19 #include <win32dlg.h>19 #include "win32dlg.h" 20 20 #include <win/winproc.h> 21 21 #include "oslibmsg.h" … … 229 229 if (hMenu) DestroyMenu( hMenu ); 230 230 231 WINPROC_FreeProc( Win32DlgProc, WIN_PROC_WINDOW);231 WINPROC_FreeProc((HWINDOWPROC)Win32DlgProc, WIN_PROC_WINDOW); 232 232 } 233 233 //****************************************************************************** … … 1185 1185 type = (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A; 1186 1186 } 1187 oldval = (LONG)WINPROC_GetProc( Win32DlgProc, (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A);1187 oldval = (LONG)WINPROC_GetProc((HWINDOWPROC)Win32DlgProc, (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A); 1188 1188 WINPROC_SetProc((HWINDOWPROC *)&Win32DlgProc, (WNDPROC)value, type, WIN_PROC_WINDOW); 1189 1189 return oldval; … … 1209 1209 { 1210 1210 case DWL_DLGPROC: 1211 return (ULONG)WINPROC_GetProc( Win32DlgProc, (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A);1211 return (ULONG)WINPROC_GetProc((HWINDOWPROC)Win32DlgProc, (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A); 1212 1212 case DWL_MSGRESULT: 1213 1213 return msgResult;
Note:
See TracChangeset
for help on using the changeset viewer.