Ignore:
Timestamp:
Dec 29, 2000, 7:41:23 PM (25 years ago)
Author:
sandervl
Message:

Win32ToOS2Handle & OS2ToWin32Handle exported with stdcall calling convention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/pmwindow.cpp

    r4839 r4848  
    1 /* $Id: pmwindow.cpp,v 1.110 2000-12-24 14:54:07 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.111 2000-12-29 18:39:58 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    2222#include <win32type.h>
    2323#include <winconst.h>
     24#include <winuser32.h>
    2425#include <wprocess.h>
    2526#include <misc.h>
     
    581582      HWND hwndFocus = (HWND)mp1;
    582583
    583         dprintf(("OS2: WM_SETFOCUS %x %x (%x) %d", win32wnd->getWindowHandle(), mp1, Win32BaseWindow::OS2ToWin32Handle(hwndFocus), mp2));
     584        dprintf(("OS2: WM_SETFOCUS %x %x (%x) %d", win32wnd->getWindowHandle(), mp1, OS2ToWin32Handle(hwndFocus), mp2));
    584585        if(WinQueryWindowULong(hwndFocus, OFFSET_WIN32PM_MAGIC) != WIN32PM_MAGIC) {
    585586                //another (non-win32) application's window
     
    588589        }
    589590        if((ULONG)mp2 == TRUE) {
    590                 HWND hwndFocusWin32 = Win32BaseWindow::OS2ToWin32Handle(hwndFocus);
     591                HWND hwndFocusWin32 = OS2ToWin32Handle(hwndFocus);
    591592                recreateCaret (hwndFocusWin32);
    592593                win32wnd->MsgSetFocus(hwndFocusWin32);
    593594        }
    594         else win32wnd->MsgKillFocus(Win32BaseWindow::OS2ToWin32Handle(hwndFocus));
     595        else win32wnd->MsgKillFocus(OS2ToWin32Handle(hwndFocus));
    595596        break;
    596597    }
Note: See TracChangeset for help on using the changeset viewer.