Ignore:
Timestamp:
Nov 14, 2011, 11:03:47 PM (14 years ago)
Author:
dmik
Message:

Port USER32.DLL (continued).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/user32/win32dlg.cpp

    r21720 r21808  
    1717#include <string.h>
    1818#include <misc.h>
    19 #include <win32dlg.h>
     19#include "win32dlg.h"
    2020#include <win/winproc.h>
    2121#include "oslibmsg.h"
     
    229229    if (hMenu) DestroyMenu( hMenu );
    230230
    231     WINPROC_FreeProc(Win32DlgProc, WIN_PROC_WINDOW);
     231    WINPROC_FreeProc((HWINDOWPROC)Win32DlgProc, WIN_PROC_WINDOW);
    232232}
    233233//******************************************************************************
     
    11851185            type = (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A;
    11861186        }
    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);
    11881188        WINPROC_SetProc((HWINDOWPROC *)&Win32DlgProc, (WNDPROC)value, type, WIN_PROC_WINDOW);
    11891189        return oldval;
     
    12091209    {
    12101210    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);
    12121212    case DWL_MSGRESULT:
    12131213        return msgResult;
Note: See TracChangeset for help on using the changeset viewer.