Changeset 3792 for trunk/src


Ignore:
Timestamp:
Jul 2, 2000, 5:00:18 PM (25 years ago)
Author:
sandervl
Message:

Put back check for registration of ShellView window class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shell32/shlview.cpp

    r3306 r3792  
    1 /* $Id: shlview.cpp,v 1.13 2000-04-02 15:12:48 cbratschi Exp $ */
     1/* $Id: shlview.cpp,v 1.14 2000-07-02 15:00:18 sandervl Exp $ */
    22/*
    33 * ShellView
     
    15611561
    15621562   /*if our window class has not been registered, then do so*/
    1563 //SvL: Don't check this now
    1564 // if(!GetClassInfoA(shell32_hInstance, SV_CLASS_NAME, &wc))
    1565 // {
     1563   if(!GetClassInfoA(shell32_hInstance, SV_CLASS_NAME, &wc))
     1564   {
    15661565     ZeroMemory(&wc, sizeof(wc));
    15671566     wc.style     = CS_HREDRAW | CS_VREDRAW;
     
    15781577     if(!RegisterClassA(&wc))
    15791578       return E_FAIL;
    1580 // }
     1579  }
    15811580
    15821581   *phWnd = CreateWindowExA(0,
Note: See TracChangeset for help on using the changeset viewer.