Ignore:
Timestamp:
Oct 10, 1999, 10:59:41 AM (26 years ago)
Author:
sandervl
Message:

Dialog, style + window handle translation bugfixes

File:
1 edited

Legend:

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

    r1096 r1240  
    1 /* $Id: msgbox.cpp,v 1.3 1999-10-01 10:15:23 sandervl Exp $ */
     1/* $Id: msgbox.cpp,v 1.4 1999-10-10 08:59:40 sandervl Exp $ */
    22/*
    33 * Win32 message box function for OS/2
     
    149149//******************************************************************************
    150150//******************************************************************************
    151 int WIN32API MessageBoxW(HWND arg1, LPCWSTR arg2, LPCWSTR arg3, UINT arg4)
     151int WIN32API MessageBoxW(HWND hwndOwner, LPCWSTR arg2, LPCWSTR arg3, UINT arg4)
    152152{
    153153 char *astring1, *astring2;
     
    159159    WriteLog("USER32:  MessageBoxW %s %s\n", astring1, astring2);
    160160#endif
    161     rc = O32_MessageBox(arg1, astring1, astring2, arg4);
     161    hwndOwner = Win32Window::Win32ToOS2Handle(hwndOwner);
     162    rc = O32_MessageBox(hwndOwner, astring1, astring2, arg4);
    162163    FreeAsciiString(astring1);
    163164    FreeAsciiString(astring2);
Note: See TracChangeset for help on using the changeset viewer.