Ignore:
Timestamp:
Jun 9, 2001, 4:50:26 PM (24 years ago)
Author:
sandervl
Message:

reference count (window + class objects) rewrite

File:
1 edited

Legend:

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

    r5685 r5935  
    1 /* $Id: caret.cpp,v 1.17 2001-05-11 08:39:41 sandervl Exp $ */
     1/* $Id: caret.cpp,v 1.18 2001-06-09 14:50:16 sandervl Exp $ */
    22
    33/*
     
    7979
    8080       wnd->RemoveFakeOpen32();
     81       RELEASE_WNDOBJ(wnd);
    8182       return (rc);
    8283   }
     
    144145           if (!pHps)
    145146           {
     147              RELEASE_WNDOBJ(wnd);
    146148              SetLastError(ERROR_INTERNAL_ERROR);
    147149              return FALSE;
     
    166168        CaretPosX = x;
    167169        CaretPosY = y;
     170        RELEASE_WNDOBJ(wnd);
    168171
    169172        rc = WinCreateCursor (cursorInfo.hwnd, xNew, yNew, 0, 0, CURSOR_SETPOS, NULL);
     
    212215            cursorInfo.y  = height - caretPos.y;
    213216         }
     217         RELEASE_WNDOBJ(wnd);
    214218      }
    215219      pPoint->x = cursorInfo.x;
Note: See TracChangeset for help on using the changeset viewer.