Changeset 7446 for trunk/src


Ignore:
Timestamp:
Nov 24, 2001, 2:55:14 PM (24 years ago)
Author:
sandervl
Message:

minor updates

Location:
trunk/src/user32
Files:
3 edited

Legend:

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

    r7409 r7446  
    1 /* $Id: menu.cpp,v 1.40 2001-11-21 11:51:37 sandervl Exp $*/
     1/* $Id: menu.cpp,v 1.41 2001-11-24 13:55:13 sandervl Exp $*/
    22/*
    33 * Menu functions
     
    41284128    }
    41294129    retvalue = (HMENU)GetWindowLongA( hWnd, GWL_ID );
     4130#ifdef __WIN32OS2__
    41304131    if(MENU_GetMenu(retvalue) != NULL) {
    41314132        return retvalue;
    41324133    }
    41334134    return 0;
     4135#else
     4136    return retvalue;
     4137#endif
    41344138}
    41354139
     
    43354339    LPPOPUPMENU menu = MENU_GetMenu(hmenu);
    43364340
    4337     dprintf(("USER32: IsMenu"));
     4341    dprintf(("USER32: IsMenu %x", hmenu));
    43384342
    43394343    return IS_A_MENU(menu);
  • trunk/src/user32/win32wbase.cpp

    r7409 r7446  
    1 /* $Id: win32wbase.cpp,v 1.301 2001-11-21 11:51:38 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.302 2001-11-24 13:55:13 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    38483848}
    38493849//******************************************************************************
    3850 //******************************************************************************
    3851 void Win32BaseWindow::setWindowId(DWORD id)
    3852 {
    3853     dwIDMenu = id;
    3854 }
    3855 //******************************************************************************
    38563850//Locates window in linked list and increases reference count (if found)
    38573851//Window object must be unreferenced after usage
  • trunk/src/user32/win32wbase.h

    r7409 r7446  
    1 /* $Id: win32wbase.h,v 1.134 2001-11-21 11:51:38 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.135 2001-11-24 13:55:14 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    206206         void   setWindowProc(WNDPROC newproc)  { win32wndproc = newproc; };
    207207        DWORD   getWindowId()                   { return dwIDMenu; };
    208          void   setWindowId(DWORD id);
     208         void   setWindowId(DWORD id)           { dwIDMenu = id; };
    209209         ULONG  getWindowHeight()               { return rectWindow.bottom - rectWindow.top; };
    210210         ULONG  getWindowWidth()                { return rectWindow.right - rectWindow.left; };
Note: See TracChangeset for help on using the changeset viewer.