Changeset 836 for trunk/src


Ignore:
Timestamp:
Sep 5, 1999, 5:59:37 PM (26 years ago)
Author:
dengert
Message:

reenabled open32wbase

Location:
trunk/src/user32/new
Files:
2 edited

Legend:

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

    r835 r836  
    1 /* $Id: win32wbase.cpp,v 1.10 1999-09-05 15:53:09 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.11 1999-09-05 15:59:36 dengert Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    429429#endif
    430430
    431 //  fakeWinBase.hwndThisObject = OS2Hwnd;
    432 //  fakeWinBase.pWindowClass = windowClass;
    433 //  *(PULONG)&fakeWinBase -= 0x90 - 8;
     431  fakeWinBase.hwndThis     = OS2Hwnd;
     432  fakeWinBase.pWindowClass = windowClass;
    434433//  SetFakeOpen32();
    435434
  • trunk/src/user32/new/win32wbase.h

    r835 r836  
    1 /* $Id: win32wbase.h,v 1.8 1999-09-05 15:53:10 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.9 1999-09-05 15:59:37 dengert Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    1717
    1818#include <win32class.h>
    19 //#include "open32wbase.h"
     19#include "open32wbase.h"
    2020#include <gen_object.h>
    2121#include <win32wndchild.h>
     
    148148         BOOL   CloseWindow();
    149149  static HWND   GetActiveWindow();
    150         //Window handle has already been verified, so just return true
     150        //Window handle has already been verified, so just return true
    151151         BOOL   IsWindow()                    { return TRUE; };
    152         BOOL   IsDialog()                    { return fIsDialog; };
     152        BOOL   IsDialog()                    { return fIsDialog; };
    153153
    154154         BOOL   IsWindowEnabled();
     
    236236        BOOL    fCreated;
    237237        BOOL    fFirstShow;
    238         BOOL    fIsDialog;
     238        BOOL    fIsDialog;
    239239
    240240   Win32BaseWindow *owner;
     
    276276
    277277public:
    278 //       void SetFakeOpen32()    { WinSetDAXData (OS2Hwnd, &fakeWinBase); }
    279 //       void RemoveFakeOpen32() { WinSetDAXData (OS2Hwnd, NULL); }
    280 
    281 //  fakeOpen32WinBaseClass fakeWinBase;
     278       void SetFakeOpen32()    { WinSetDAXData (OS2Hwnd, &fakeWinBase); }
     279       void RemoveFakeOpen32() { WinSetDAXData (OS2Hwnd, NULL); }
     280
     281       fakeOpen32WinBaseClass fakeWinBase;
    282282};
    283283
Note: See TracChangeset for help on using the changeset viewer.