Changeset 21916 for trunk/src/user32/win32class.cpp
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/src/user32/win32class.cpp
r10587 r21916 32 32 #include <assert.h> 33 33 #include <misc.h> 34 #include <win32class.h>35 #include <win32wnd.h>36 #include <win \winproc.h>34 #include "win32class.h" 35 #include "win32wnd.h" 36 #include <win/winproc.h> 37 37 #include <unicode.h> 38 38 … … 40 40 #include "dbglocal.h" 41 41 42 static fDestroyAll = FALSE;42 static BOOL fDestroyAll = FALSE; 43 43 44 44 //****************************************************************************** … … 169 169 170 170 if(pfnWindowProcA) 171 WINPROC_FreeProc( pfnWindowProcA, WIN_PROC_CLASS);171 WINPROC_FreeProc((HWINDOWPROC)pfnWindowProcA, WIN_PROC_CLASS); 172 172 if(pfnWindowProcW) 173 WINPROC_FreeProc( pfnWindowProcW, WIN_PROC_CLASS);173 WINPROC_FreeProc((HWINDOWPROC)pfnWindowProcW, WIN_PROC_CLASS); 174 174 175 175 if(userClassBytes) free(userClassBytes); … … 457 457 pfnWindowProc = pfnWindowProcW; 458 458 } 459 return (ULONG) WINPROC_GetProc( pfnWindowProc, (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A);459 return (ULONG) WINPROC_GetProc((HWINDOWPROC)pfnWindowProc, (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A); 460 460 } 461 461 case GCW_ATOM: //TODO: does this really happen in windows? … … 556 556 proc = &pfnWindowProcW; 557 557 } 558 rc = (LONG)WINPROC_GetProc( *proc, type );558 rc = (LONG)WINPROC_GetProc((HWINDOWPROC)*proc, type ); 559 559 WINPROC_SetProc((HWINDOWPROC *)proc, (WNDPROC)lNewVal, type, WIN_PROC_CLASS); 560 560 … … 564 564 if (proc == &pfnWindowProcA) 565 565 { 566 WINPROC_FreeProc( pfnWindowProcW, WIN_PROC_CLASS );566 WINPROC_FreeProc( (HWINDOWPROC)pfnWindowProcW, WIN_PROC_CLASS ); 567 567 pfnWindowProcW = 0; 568 568 } 569 569 else 570 570 { 571 WINPROC_FreeProc( pfnWindowProcA, WIN_PROC_CLASS );571 WINPROC_FreeProc( (HWINDOWPROC)pfnWindowProcA, WIN_PROC_CLASS ); 572 572 pfnWindowProcA = 0; 573 573 }
Note:
See TracChangeset
for help on using the changeset viewer.