Changeset 2401 for trunk/src


Ignore:
Timestamp:
Jan 11, 2000, 12:37:24 AM (26 years ago)
Author:
sandervl
Message:

compile fix

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

Legend:

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

    r2400 r2401  
    1 /* $Id: win32wbase.cpp,v 1.29 2000-01-10 23:29:14 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.30 2000-01-10 23:37:23 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    30863086//******************************************************************************
    30873087//******************************************************************************
    3088 HMENU Win32BaseWindow::GetSystemMenu(BOOL fRevert)
    3089 {
    3090     if(fRevert == FALSE)
    3091     {
    3092             if(hSysMenu) {
    3093                 DestroyMenu(hSysMenu);
    3094             }
    3095             hSysMenu = LoadMenuA(GetModuleHandleA("USER32"), (LPCSTR)"SYSMENU");
    3096             return hSysMenu;
    3097         }
    3098         else {//revert back to default system menu
    3099             if(hSysMenu) {
    3100                 DestroyMenu(hSysMenu);
    3101                 hSysMenu = 0;
    3102             }
    3103             return 0;
    3104     }
    3105 }
    3106 //******************************************************************************
    3107 //******************************************************************************
    31083088BOOL Win32BaseWindow::SetIcon(HICON hIcon)
    31093089{
  • trunk/src/user32/new/win32wbase.h

    r2400 r2401  
    1 /* $Id: win32wbase.h,v 1.22 2000-01-10 23:29:15 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.23 2000-01-10 23:37:24 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    160160         HMENU  GetMenu()                           { return hMenu; };
    161161         VOID   SetMenu(HMENU newMenu)              { hMenu = newMenu; };
    162          HMENU  GetSystemMenu(BOOL fRevert);
    163          HMENU  getSystemMenu()                     { return hSysMenu; }
     162         void   SetSysMenu(HMENU hSystemMenu)       { hSysMenu = hSystemMenu; };
     163         HMENU  GetSysMenu()                        { return hSysMenu; }
    164164
    165165         BOOL   SetIcon(HICON hIcon);
Note: See TracChangeset for help on using the changeset viewer.