Ignore:
Timestamp:
Dec 18, 2011, 10:28:22 PM (14 years ago)
Author:
dmik
Message:

Merge branch gcc-kmk to trunk.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1 bin
        2 Makefile.inc
         1env.cmd
         2LocalConfig.kmk
    • Property svn:mergeinfo set to
      /branches/gcc-kmkmergedeligible
  • trunk/src/user32/win32class.cpp

    r10587 r21916  
    3232#include <assert.h>
    3333#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>
    3737#include <unicode.h>
    3838
     
    4040#include "dbglocal.h"
    4141
    42 static fDestroyAll = FALSE;
     42static BOOL fDestroyAll = FALSE;
    4343
    4444//******************************************************************************
     
    169169
    170170  if(pfnWindowProcA)
    171       WINPROC_FreeProc(pfnWindowProcA, WIN_PROC_CLASS);
     171      WINPROC_FreeProc((HWINDOWPROC)pfnWindowProcA, WIN_PROC_CLASS);
    172172  if(pfnWindowProcW)
    173       WINPROC_FreeProc(pfnWindowProcW, WIN_PROC_CLASS);
     173      WINPROC_FreeProc((HWINDOWPROC)pfnWindowProcW, WIN_PROC_CLASS);
    174174
    175175  if(userClassBytes)    free(userClassBytes);
     
    457457                        pfnWindowProc = pfnWindowProcW;
    458458                }
    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);
    460460        }
    461461        case GCW_ATOM: //TODO: does this really happen in windows?
     
    556556                        proc = &pfnWindowProcW;
    557557                }
    558                 rc = (LONG)WINPROC_GetProc(*proc, type );
     558                rc = (LONG)WINPROC_GetProc((HWINDOWPROC)*proc, type );
    559559                WINPROC_SetProc((HWINDOWPROC *)proc, (WNDPROC)lNewVal, type, WIN_PROC_CLASS);
    560560
     
    564564                    if (proc == &pfnWindowProcA)
    565565                    {
    566                         WINPROC_FreeProc( pfnWindowProcW, WIN_PROC_CLASS );
     566                        WINPROC_FreeProc( (HWINDOWPROC)pfnWindowProcW, WIN_PROC_CLASS );
    567567                        pfnWindowProcW = 0;
    568568                    }
    569569                    else
    570570                    {
    571                         WINPROC_FreeProc( pfnWindowProcA, WIN_PROC_CLASS );
     571                        WINPROC_FreeProc( (HWINDOWPROC)pfnWindowProcA, WIN_PROC_CLASS );
    572572                        pfnWindowProcA = 0;
    573573                    }
Note: See TracChangeset for help on using the changeset viewer.