Changeset 1540 for trunk/src


Ignore:
Timestamp:
Nov 1, 1999, 8:11:46 PM (26 years ago)
Author:
sandervl
Message:

Activate + group box fixes + cleanup changes

Location:
trunk/src/user32
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/Makefile

    r1491 r1540  
    1 # $Id: Makefile,v 1.39 1999-10-28 15:20:24 sandervl Exp $
     1# $Id: Makefile,v 1.40 1999-11-01 19:11:38 sandervl Exp $
    22
    33#
     
    125125pmframe.obj: pmframe.cpp win32class.h win32wbase.h pmframe.h win32wndchild.h
    126126win32class.obj: win32class.cpp win32class.h win32wbase.h win32dlg.h gen_object.h $(PDWIN32_INCLUDE)\heapshared.h oslibwin.h win32wndchild.h
    127 win32wbase.obj:   win32wbase.cpp win32class.h win32wbase.h win32dlg.h gen_object.h $(PDWIN32_INCLUDE)\heapshared.h oslibwin.h win32wndchild.h  $(PDWIN32_INCLUDE)\winres.h oslibres.h win32wndhandle.h oslibdos.h dc.h pmframe.h win32wdesktop.h
     127win32wbase.obj:   win32wbase.cpp win32class.h win32wbase.h win32dlg.h gen_object.h $(PDWIN32_INCLUDE)\heapshared.h oslibwin.h win32wndchild.h  $(PDWIN32_INCLUDE)\winres.h oslibres.h win32wndhandle.h oslibdos.h dc.h pmframe.h win32wdesktop.h controls.h
    128128win32wbasepos.obj: win32wbasepos.cpp win32class.h win32wbase.h win32dlg.h gen_object.h $(PDWIN32_INCLUDE)\heapshared.h oslibwin.h win32wndchild.h  $(PDWIN32_INCLUDE)\winres.h oslibres.h win32wndhandle.h oslibdos.h dc.h pmframe.h win32wdesktop.h
    129129win32wnd.obj:   win32wnd.cpp win32class.h win32wbase.h win32wnd.h win32dlg.h gen_object.h $(PDWIN32_INCLUDE)\heapshared.h oslibwin.h win32wndchild.h  $(PDWIN32_INCLUDE)\winres.h oslibres.h win32wndhandle.h oslibdos.h oslibmenu.h
  • trunk/src/user32/gen_object.cpp

    r949 r1540  
    1 /* $Id: gen_object.cpp,v 1.1 1999-09-15 23:18:50 sandervl Exp $ */
     1/* $Id: gen_object.cpp,v 1.2 1999-11-01 19:11:39 sandervl Exp $ */
    22/*
    33 * Generic Object Class for OS/2
     
    6868//******************************************************************************
    6969//******************************************************************************
     70void GenericObject::DestroyAll(GenericObject *head)
     71{
     72 GenericObject *cur, *next;
     73
     74  cur = head;
     75  while(cur) {
     76        next = cur->next;
     77        delete cur;
     78        cur = next;
     79  }
     80}
     81//******************************************************************************
     82//******************************************************************************
    7083void GenericObject::enterMutex()
    7184{
  • trunk/src/user32/gen_object.h

    r1490 r1540  
    1 /* $Id: gen_object.h,v 1.2 1999-10-28 12:00:33 sandervl Exp $ */
     1/* $Id: gen_object.h,v 1.3 1999-11-01 19:11:39 sandervl Exp $ */
    22/*
    33 * Generic Object Class for OS/2
     
    4040static   void  leaveMutex(DWORD objType);
    4141
     42static   void  DestroyAll(GenericObject *head);
     43
    4244#ifdef __DEBUG_ALLOC__
    4345        void *operator new(size_t size, const char *filename, size_t lineno)
  • trunk/src/user32/initterm.cpp

    r1490 r1540  
    1 /* $Id: initterm.cpp,v 1.14 1999-10-28 12:00:34 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.15 1999-11-01 19:11:39 sandervl Exp $ */
    22
    33/*
     
    4949/*-------------------------------------------------------------------*/
    5050static void APIENTRY cleanup(ULONG reason);
    51 static void APIENTRY cleanupQueue(ULONG ulReason);
    5251
    5352extern "C" {
     
    9695         /*******************************************************************/
    9796
    98          rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    99          if(rc)
    100                 return 0UL;
    101 
    102          rc = DosExitList(0x00008000|EXLST_ADD, cleanupQueue);
     97         rc = DosExitList(0x00008000|EXLST_ADD, cleanup);
    10398         if(rc)
    10499                return 0UL;
     
    135130}
    136131
    137 static void APIENTRY cleanupQueue(ULONG ulReason)
    138 {
    139    CloseSpyQueue();
    140    DosExitList(EXLST_EXIT, cleanupQueue);
    141 }
    142 
    143132static void APIENTRY cleanup(ULONG ulReason)
    144133{
    145134   dprintf(("user32 exit\n"));
     135   DestroyDesktopWindow();
     136   Win32BaseWindow::DestroyAll();
     137   UnregisterSystemClasses();
     138   Win32WndClass::DestroyAll();
    146139   SYSCOLOR_Save();
    147    DestroyDesktopWindow();
    148    UnregisterSystemClasses();
     140   CloseSpyQueue();
    149141   _ctordtorTerm();
    150142   dprintf(("user32 exit done\n"));
     143
    151144   DosExitList(EXLST_EXIT, cleanup);
    152    return ;
    153145}
     146
  • trunk/src/user32/oslibwin.cpp

    r1523 r1540  
    1 /* $Id: oslibwin.cpp,v 1.40 1999-10-30 18:08:19 dengert Exp $ */
     1/* $Id: oslibwin.cpp,v 1.41 1999-11-01 19:11:40 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    5050//******************************************************************************
    5151HWND OSLibWinCreateWindow(HWND hwndParent, ULONG dwWinStyle, ULONG dwFrameStyle,
    52                           char *pszName, HWND Owner, ULONG fHWND_BOTTOM, HWND *hwndFrame,
     52                          char *pszName, HWND Owner, ULONG fBottom, HWND *hwndFrame,
    5353                          ULONG id)
    5454{
     
    6969  ULONG dwClientStyle;
    7070
    71 #if 0
    72 //  if(dwFrameStyle || hwndParent == HWND_DESKTOP) {
    73         dwClientStyle = dwWinStyle & ~(WS_TABSTOP | WS_GROUP | WS_CLIPSIBLINGS);
    74 
    75         dwFrameStyle |= FCF_NOBYTEALIGN;
    76         if (hwndParent == HWND_DESKTOP && dwFrameStyle & FCF_TITLEBAR)
    77                 dwFrameStyle |= FCF_TASKLIST | FCF_NOMOVEWITHOWNER;
    78 
    79         dwWinStyle &= ~(WS_CLIPCHILDREN | WS_CLIPSIBLINGS);
    80 
    81         *hwndFrame = WinCreateStdWindow(hwndParent, dwWinStyle,
    82                                        &dwFrameStyle, WIN32_STDCLASS,
    83                                        "", dwClientStyle, 0, id, &hwndClient);
    84         if(*hwndFrame) {
    85                 if(pszName) {
    86                         WinSetWindowText(*hwndFrame, pszName);
    87                 }
    88                 return hwndClient;
    89         }
    90         dprintf(("OSLibWinCreateWindow: (FRAME) WinCreateStdWindow failed (%x)", WinGetLastError(GetThreadHAB())));
    91         return 0;
    92 #else
    9371  BOOL TopLevel = hwndParent == HWND_DESKTOP;
    9472  FRAMECDATA FCData = {sizeof (FRAMECDATA), 0, 0, 0};
     
    10785                                TopLevel ? WC_FRAME : WIN32_INNERFRAME,
    10886                                pszName, dwWinStyle, 0, 0, 50, 30,
    109                                 hwndParent, HWND_TOP, id, &FCData, NULL);
     87                                hwndParent, HWND_TOP,
     88                                id, &FCData, NULL);
    11089  if (*hwndFrame) {
    11190    hwndClient = WinCreateWindow (*hwndFrame, WIN32_STDCLASS,
     
    11493    if (hwndClient != NULLHANDLE)
    11594      WinSendMsg (*hwndFrame, WM_UPDATEFRAME, 0, 0);
     95
    11696    return hwndClient;
    11797  }
    11898  dprintf(("OSLibWinCreateWindow: (FRAME) WinCreateStdWindow failed (%x)", WinGetLastError(GetThreadHAB())));
    11999  return 0;
    120 #endif
    121 
    122 #if 0
    123   }
    124   hwndClient = WinCreateWindow(hwndParent, WIN32_STDCLASS, pszName, dwWinStyle, 0, 0, 0, 0,
    125                                Owner, (fHWND_BOTTOM) ? HWND_BOTTOM :HWND_TOP, 0, NULL,
    126                                NULL);
    127   *hwndFrame = hwndClient;
    128   return hwndClient;
    129 #endif
    130100}
    131101//******************************************************************************
     
    378348  if(rc == 0)
    379349        dprintf(("WinShowWindow %x failed %x", hwnd, WinGetLastError(GetThreadHAB())));
    380   rc = WinSetWindowPos(hwnd, HWND_TOP, 0, 0, 0, 0, fl);
     350  rc = WinSetWindowPos(hwnd, 0, 0, 0, 0, 0, fl);
    381351  if(rc == 0)
    382352        dprintf(("WinShowWindow %x failed %x", hwnd, WinGetLastError(GetThreadHAB())));
  • trunk/src/user32/oslibwin.h

    r1511 r1540  
    1 /* $Id: oslibwin.h,v 1.22 1999-10-29 16:06:55 cbratschi Exp $ */
     1/* $Id: oslibwin.h,v 1.23 1999-11-01 19:11:41 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    3838
    3939HWND  OSLibWinCreateWindow(HWND hwndParent, ULONG dwWinStyle, ULONG dwFrameStyle,
    40                            char *pszName, HWND Owner, ULONG fHWND_BOTTOM,
     40                           char *pszName, HWND Owner, ULONG fBottom,
    4141                           HWND *hwndFrame, ULONG id);
    4242
  • trunk/src/user32/pmframe.cpp

    r1530 r1540  
    1 /* $Id: pmframe.cpp,v 1.15 1999-10-31 17:53:51 cbratschi Exp $ */
     1/* $Id: pmframe.cpp,v 1.16 1999-11-01 19:11:41 sandervl Exp $ */
    22/*
    33 * Win32 Frame Managment Code for OS/2
     
    232232  switch(msg)
    233233  {
    234 #if 1
    235234    case WM_ADJUSTWINDOWPOS:
    236235    {
     
    390389        return rc;
    391390    }
    392 #if 0
    393     case WM_ENABLE:
    394         dprintf(("PMFRAME: WM_ENABLE %x", win32wnd->getWindowHandle()));
    395         win32wnd->MsgEnable(SHORT1FROMMP(mp1));
    396         goto RunDefFrameProc;
    397 
    398     case WM_SHOW:
    399         dprintf(("PMFRAME: WM_SHOW %x %d", win32wnd->getWindowHandle(), mp1));
    400         win32wnd->MsgShow((ULONG)mp1);
    401         goto RunDefFrameProc;
    402 
    403391    case WM_ACTIVATE:
    404392    {
    405       HWND hwndActivate = (HWND)mp2;
    406       BOOL fMinimized = FALSE;
    407 
    408         dprintf(("PMFRAME: WM_ACTIVATE %x %x", hwnd, hwndActivate));
    409         if(WinQueryWindowULong(hwndActivate, OFFSET_WIN32PM_MAGIC) != WIN32PM_MAGIC) {
    410                 //another (non-win32) application's window
    411                 //set to NULL (allowed according to win32 SDK) to avoid problems
    412                 hwndActivate = NULL;
    413         }
    414         if(WinQueryWindowULong(hwnd, QWL_STYLE) & WS_MINIMIZED)
    415         {
    416            fMinimized = TRUE;
    417         }
    418 
    419         win32wnd->MsgActivate(SHORT1FROMMP(mp1), fMinimized, Win32BaseWindow::OS2ToWin32Handle(hwndActivate));
    420 
    421         RestoreOS2TIB();
    422         MRESULT rc = OldFrameProc(hwnd,msg,mp1,mp2);
    423         DrawActivate(win32wnd, hwnd);
    424         return rc;
    425     }
    426 #else
    427     case WM_ACTIVATE:
    428       {
    429393        HWND hwndTitle;
    430394        USHORT flags = WinQueryWindowUShort(hwnd,QWS_FLAGS);
     
    440404        RestoreOS2TIB();
    441405        return 0;
    442       }
    443 
    444 #endif
    445 #else
    446     case WM_ADJUSTWINDOWPOS:
    447     {
    448       PSWP     pswp = (PSWP)mp1;
    449       Win32BaseWindow *wndchild;
    450 
    451       wndchild = Win32BaseWindow::GetWindowFromOS2FrameHandle(pswp->hwnd);
    452       if(wndchild && wndchild->isChild())
    453       {
    454 #if 0
    455        SWP swp = *pswp;
    456 
    457         MRESULT rc = OldFrameProc(hwnd, msg, mp1, mp2);
    458         pswp->x = swp.x;
    459         pswp->y = swp.y;
    460         pswp->fl = swp.fl;
    461 #endif
    462         dprintf(("PMFRAME: WM_ADJUSTWINDOWPOS %x %x %x (%d,%d) (%d,%d)", hwnd, pswp->hwnd, pswp->fl, pswp->x, pswp->y, pswp->cx, pswp->cy));
    463         RestoreOS2TIB();
    464         return (MRESULT)0;
    465       }
    466       goto RunDefFrameProc;
    467406    }
    468 
    469     case WM_ACTIVATE:
    470         DrawActivate(win32wnd, hwnd);
    471         goto RunDefFrameProc;
    472 #endif
    473407
    474408    case WM_DESTROY:
  • trunk/src/user32/win32class.cpp

    r1490 r1540  
    1 /* $Id: win32class.cpp,v 1.4 1999-10-28 12:00:34 sandervl Exp $ */
     1/* $Id: win32class.cpp,v 1.5 1999-11-01 19:11:42 sandervl Exp $ */
    22/*
    33 * Win32 Window Class Managment Code for OS/2
     
    2424#include <win32wnd.h>
    2525
     26static fDestroyAll = FALSE;
     27
    2628//******************************************************************************
    2729//Win32WndClass methods:
     
    123125Win32WndClass::~Win32WndClass()
    124126{
     127  if(classNameA) {
     128        dprintf(("Win32WndClass dtor, destroy class %s\n", classNameA));
     129  }
     130
    125131  //SvL: Don't delete global classes
    126132  if(classNameA && !(windowStyle & CS_GLOBALCLASS)) {
     
    136142        free(menuNameW);
    137143  }
     144}
     145//******************************************************************************
     146//******************************************************************************
     147void Win32WndClass::DestroyAll()
     148{
     149    fDestroyAll = TRUE;
     150    GenericObject::DestroyAll(wndclasses);
    138151}
    139152//******************************************************************************
     
    449462  Win32WndClass *wndclass;
    450463
    451   dprintf(("::UnregisterClass, destroy class %X!!\n", id));
    452464  wndclass = FindClass(hinst, id);
    453465  if(wndclass) {
  • trunk/src/user32/win32class.h

    r1433 r1540  
    1 /* $Id: win32class.h,v 1.3 1999-10-24 22:56:09 sandervl Exp $ */
     1/* $Id: win32class.h,v 1.4 1999-11-01 19:11:43 sandervl Exp $ */
    22/*
    33 * Win32 Window Class Managment Code for OS/2
     
    6262
    6363 static Win32WndClass *FindClass(HINSTANCE hinst, LPSTR id);
     64 static  void   DestroyAll();
    6465
    6566private:
  • trunk/src/user32/win32wbase.cpp

    r1526 r1540  
    1 /* $Id: win32wbase.cpp,v 1.70 1999-10-31 01:14:42 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.71 1999-11-01 19:11:43 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    3939#include "win32wdesktop.h"
    4040#include "pmwindow.h"
     41#include "controls.h"
    4142#include <wprocess.h>
    4243
     
    7576
    7677void PrintWindowStyle(DWORD dwStyle, DWORD dwExStyle);
     78
     79static fDestroyAll = FALSE;
    7780
    7881//******************************************************************************
     
    199202    OSLibWinSetWindowULong(OS2Hwnd, OFFSET_WIN32PM_MAGIC, 0);
    200203
    201     if(getParent() && getParent()->getFirstChild() == this && getNextChild() == NULL)
     204    if(!fDestroyAll && getParent() && getParent()->getFirstChild() == this && getNextChild() == NULL)
    202205    {
    203206        //if we're the last child that's being destroyed and our
     
    210213        }
    211214    }
     215    else
     216    if(fDestroyAll) {
     217        dprintf(("Destroying window %x %s", getWindowHandle(), windowNameA));
     218        setParent(NULL);  //or else we'll crash in the dtor of the ChildWindow class
     219    }
     220
    212221    if (isOwnDC())
    213222        releaseOwnDC (ownDC);
     
    234243        horzScrollInfo = NULL;
    235244    }
     245}
     246//******************************************************************************
     247//******************************************************************************
     248void Win32BaseWindow::DestroyAll()
     249{
     250    fDestroyAll = TRUE;
     251    GenericObject::DestroyAll(windows);
    236252}
    237253//******************************************************************************
     
    414430  dwExStyle = cs->dwExStyle;
    415431
    416 #if 1
    417   //SvL: Messes up Z-order of dialog controls
    418432  hwndLinkAfter = HWND_TOP;
    419 #else
    420   hwndLinkAfter = ((cs->style & (WS_CHILD|WS_MAXIMIZE)) == WS_CHILD)
    421                   ? HWND_BOTTOM : HWND_TOP;
    422 #endif
     433  if(WIDGETS_IsControl(this, BUTTON_CONTROL) && ((dwStyle & 0x0f) == BS_GROUPBOX))
     434  {
     435        hwndLinkAfter = HWND_BOTTOM;
     436        dwStyle |= WS_CLIPSIBLINGS;
     437  }
     438  else
     439  if(WIDGETS_IsControl(this, STATIC_CONTROL) && !(dwStyle & WS_GROUP)) {
     440        dwStyle |= WS_CLIPSIBLINGS;
     441  }
    423442
    424443  /* Increment class window counter */
     
    524543        return FALSE;
    525544  }
     545
    526546  SetLastError(0);
    527547  return TRUE;
     
    622642
    623643  if(getParent()) {
    624         SetWindowPos(getParent()->getWindowHandle(), rectClient.left, rectClient.top,
     644        SetWindowPos(hwndLinkAfter, rectClient.left, rectClient.top,
    625645                     rectClient.right-rectClient.left,
    626646                     rectClient.bottom-rectClient.top,
    627                      SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOREDRAW);
     647                     SWP_NOACTIVATE | SWP_NOREDRAW);
    628648  }
    629649  else {
    630         SetWindowPos(HWND_TOP, rectClient.left, rectClient.top,
     650        SetWindowPos(hwndLinkAfter, rectClient.left, rectClient.top,
    631651                     rectClient.right-rectClient.left,
    632652                     rectClient.bottom-rectClient.top,
     
    810830{
    811831  lastHitTestVal = SendInternalMessageA(WM_NCHITTEST, 0, MAKELONG((USHORT)x, (USHORT)y));
     832  dprintf(("MsgHitTest returned %x", lastHitTestVal));
    812833  return 1; //TODO: May need to change this
    813834}
     
    10951116                   && hwndTop != GetForegroundWindow() )
    10961117                {
    1097                       SetActiveWindow();
     1118                      ::SetActiveWindow(hwndTop);
    10981119                }
    10991120        }
     
    14211442    case WM_MOUSEACTIVATE:
    14221443    {
    1423         DWORD dwStyle = GetWindowLongA(GWL_STYLE);
    1424         DWORD dwExStyle = GetWindowLongA(GWL_EXSTYLE);
    14251444        dprintf(("DefWndProc: WM_MOUSEACTIVATE for %x Msg %s", Win32Hwnd, GetMsgText(HIWORD(lParam))));
    1426         if(dwStyle & WS_CHILD && !(dwExStyle & WS_EX_NOPARENTNOTIFY) )
     1445        if(getStyle() & WS_CHILD && !(getExStyle() & WS_EX_NOPARENTNOTIFY) )
    14271446        {
    14281447            if(getParent()) {
     
    14351454    case WM_SETCURSOR:
    14361455    {
    1437         DWORD dwStyle = GetWindowLongA(GWL_STYLE);
    1438         DWORD dwExStyle = GetWindowLongA(GWL_EXSTYLE);
    14391456        dprintf(("DefWndProc: WM_SETCURSOR for %x Msg %s", Win32Hwnd, GetMsgText(HIWORD(lParam))));
    1440         if(dwStyle & WS_CHILD && !(dwExStyle & WS_EX_NOPARENTNOTIFY) )
     1457        if(getStyle() & WS_CHILD && !(getExStyle() & WS_EX_NOPARENTNOTIFY) )
    14411458        {
    14421459            if(getParent()) {
     
    19051922{
    19061923 ULONG showstate = 0;
     1924 HWND hWinAfter;
    19071925
    19081926    dprintf(("ShowWindow %x %x", getWindowHandle(), nCmdShow));
     
    19721990    }
    19731991
     1992    /* We can't activate a child window (WINE) */
     1993    if(getStyle() & WS_CHILD)
     1994        showstate &= ~SWPOS_ACTIVATE;
     1995
    19741996    if(showstate & SWPOS_SHOW) {
    19751997            setStyle(getStyle() | WS_VISIBLE);
  • trunk/src/user32/win32wbase.h

    r1526 r1540  
    1 /* $Id: win32wbase.h,v 1.37 1999-10-31 01:14:43 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.38 1999-11-01 19:11:45 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    216216static Win32BaseWindow *GetWindowFromOS2FrameHandle(HWND hwnd);
    217217
     218    static void DestroyAll();
     219
    218220       PVOID getOldFrameProc() { return pOldFrameProc; };
    219221       VOID  setOldFrameProc(PVOID aOldFrameProc) { pOldFrameProc = aOldFrameProc; };
     
    258260         HWND   hwndLinkAfter;
    259261        DWORD   flags;
    260         DWORD   lastHitTestVal;         //Last value returned by WM_NCHITTEST handler
     262        LONG    lastHitTestVal;         //Last value returned by WM_NCHITTEST handler
    261263
    262264        BOOL    isIcon;
  • trunk/src/user32/window.cpp

    r1537 r1540  
    1 /* $Id: window.cpp,v 1.31 1999-11-01 16:18:05 dengert Exp $ */
     1/* $Id: window.cpp,v 1.32 1999-11-01 19:11:45 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    8787    }
    8888#endif
    89     if ((!strcmpi(className, "BUTTON") && ((style & 0x0f) == BS_GROUPBOX)) ||
    90        ((!strcmpi(className, "STATIC")) && !(style & WS_GROUP)))
    91       style |= WS_CLIPSIBLINGS;
    9289
    9390    /* Create the window */
     
    190187    else dprintf(("CreateWindowExW: class %d parent %x (%d,%d) (%d,%d), %x %x", className, parent, x, y, width, height, style, exStyle));
    191188
    192     if (!lstrcmpiW(className,(LPCWSTR)L"BUTTON") && ((style & 0x0f) == BS_GROUPBOX))
    193       style |= WS_CLIPSIBLINGS;
    194 
    195189    /* Create the window */
    196190    cs.lpCreateParams = data;
     
    462456    if(!window) {
    463457        dprintf(("ShowWindow, window %x not found", hwnd));
    464     SetLastError(ERROR_INVALID_WINDOW_HANDLE);
     458        SetLastError(ERROR_INVALID_WINDOW_HANDLE);
    465459        return 0;
    466460    }
  • trunk/src/user32/windowclass.cpp

    r1495 r1540  
    1 /* $Id: windowclass.cpp,v 1.3 1999-10-28 18:22:31 sandervl Exp $ */
     1/* $Id: windowclass.cpp,v 1.4 1999-11-01 19:11:46 sandervl Exp $ */
    22/*
    33 * Win32 Window Class Code for OS/2
     
    115115BOOL WIN32API UnregisterClassA(LPCSTR lpszClassName, HINSTANCE hinst)
    116116{
    117    dprintf(("USER32:  UnregisterClassA\n"));
    118117   Win32WndClass::UnregisterClassA(hinst, (LPSTR)lpszClassName);
    119118
Note: See TracChangeset for help on using the changeset viewer.