Changeset 926 for trunk/src


Ignore:
Timestamp:
Sep 13, 1999, 9:18:23 PM (26 years ago)
Author:
dengert
Message:

release private window DC

File:
1 edited

Legend:

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

    r849 r926  
    1 /* $Id: win32wbase.cpp,v 1.14 1999-09-06 20:50:35 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.15 1999-09-13 19:18:23 dengert Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    3737#include "win32wndhandle.h"
    3838#include "heapshared.h"
    39 
     39#include "dc.h"
    4040
    4141#define HAS_DLGFRAME(style,exStyle) \
     
    124124  OSLibWinSetWindowULong(OS2Hwnd, OFFSET_WIN32WNDPTR, 0);
    125125  OSLibWinSetWindowULong(OS2Hwnd, OFFSET_WIN32PM_MAGIC, 0);
     126
     127  if (isOwnDC())
     128        releaseOwnDC (ownDC);
    126129
    127130  if(Win32Hwnd)
Note: See TracChangeset for help on using the changeset viewer.