Ignore:
Timestamp:
Jul 20, 1999, 5:46:54 PM (26 years ago)
Author:
sandervl
Message:

Accelerator + icon changes

File:
1 edited

Legend:

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

    r342 r345  
    1 /* $Id: oslibwin.cpp,v 1.17 1999-07-20 07:42:35 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.18 1999-07-20 15:46:53 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    143143//******************************************************************************
    144144//******************************************************************************
    145 HWND OSLibWinCreateMenu(HWND hwndParent, PVOID menutemplate)
    146 {
    147   return WinCreateMenu(hwndParent, menutemplate);
    148 }
    149 //******************************************************************************
    150 //******************************************************************************
    151 BOOL OSLibWinSetAccelTable(HWND hwnd, PVOID acceltemplate)
    152 {
    153  HACCEL haccel;
    154  HAB    hab = WinQueryAnchorBlock(hwnd);
    155 
    156     haccel = WinCreateAccelTable(hab, (PACCELTABLE)acceltemplate);
    157     if(haccel == 0) {
    158         dprintf(("OSLibWinSetAccelTable: WinCreateAccelTable returned 0"));
    159         return FALSE;
    160     }
    161     return WinSetAccelTable(hab, haccel, hwnd);
    162 }
    163145//******************************************************************************
    164146//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.