Ignore:
Timestamp:
Sep 19, 1999, 8:33:32 PM (26 years ago)
Author:
sandervl
Message:

Dialog fontsize & background fixes

File:
1 edited

Legend:

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

    r963 r985  
    1 /* $Id: win32wbase.cpp,v 1.2 1999-09-17 18:49:53 dengert Exp $ */
     1/* $Id: win32wbase.cpp,v 1.3 1999-09-19 18:33:32 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    10201020
    10211021    if (hdcErase == 0)
    1022         hdcErase = O32_GetDC(OS2Hwnd);
     1022        hdcErase = GetDC(Win32Hwnd);
    10231023
    10241024    if(isIcon)
     
    10271027        rc = SendInternalMessageA(WM_ERASEBKGND, hdcErase, 0);
    10281028    if (hdc == 0)
    1029         O32_ReleaseDC(OS2Hwnd, hdcErase);
     1029        ReleaseDC(Win32Hwnd, hdcErase);
    10301030    return (rc);
    10311031}
     
    14651465{
    14661466    dprintf(("Win32BaseWindow::SetIcon %x", hIcon));
    1467     return OSLibWinSetIcon(OS2HwndFrame, hIcon);
     1467    if(OSLibWinSetIcon(OS2HwndFrame, hIcon) == TRUE) {
     1468        SendInternalMessageA(WM_SETICON, hIcon, 0);
     1469        return TRUE;
     1470    }
     1471    return FALSE;
    14681472}
    14691473//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.