Ignore:
Timestamp:
Oct 25, 1999, 12:56:11 AM (26 years ago)
Author:
sandervl
Message:

class changes

File:
1 edited

Legend:

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

    r1365 r1433  
    1 /* $Id: controls.cpp,v 1.4 1999-10-19 19:26:07 sandervl Exp $ */
     1/* $Id: controls.cpp,v 1.5 1999-10-24 22:56:01 sandervl Exp $ */
    22/* File: controls.cpp -- Win32 common controls
    33 *
     
    1919#include "controls.h"
    2020
    21 ATOM controlAtoms[MAX_CONTROLS] = {0};
     21ATOM  controlAtoms[MAX_CONTROLS] = {0};
    2222
    2323/* registration */
     
    2525void CONTROLS_Register()
    2626{
    27   //TODO: Remove this once we replace the atom code in kernel32
    28   //Delete all Open32 global class atoms and recreate them
    29   ATOM atom;
    30 
    31   atom = GlobalFindAtomA(BUTTONCLASSNAME);
    32   if(atom) GlobalDeleteAtom(atom);
    33   atom = GlobalFindAtomA(STATICCLASSNAME);
    34   if(atom) GlobalDeleteAtom(atom);
    35   atom = GlobalFindAtomA(SCROLLBARCLASSNAME);
    36   if(atom) GlobalDeleteAtom(atom);
    37   atom = GlobalFindAtomA(LISTBOXCLASSNAME);
    38   if(atom) GlobalDeleteAtom(atom);
    39   atom = GlobalFindAtomA(COMBOLBOXCLASSNAME);
    40   if(atom) GlobalDeleteAtom(atom);
    41   atom = GlobalFindAtomA(COMBOBOXCLASSNAME);
    42   if(atom) GlobalDeleteAtom(atom);
    43   atom = GlobalFindAtomA(EDITCLASSNAME);
    44   if(atom) GlobalDeleteAtom(atom);
    45   atom = GlobalFindAtomA(MDICLIENTCLASSNAMEA);
    46   if(atom) GlobalDeleteAtom(atom);
    47   //END to be removed code
    48 
    4927  dprintf(("Register BUTTON class"));
    5028  controlAtoms[BUTTON_CONTROL] = BUTTON_Register();
Note: See TracChangeset for help on using the changeset viewer.