Ignore:
Timestamp:
Jan 11, 2000, 2:06:27 PM (26 years ago)
Author:
sandervl
Message:

Lots of menu fixes

File:
1 edited

Legend:

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

    r2403 r2406  
    1 /* $Id: win32wbase.cpp,v 1.31 2000-01-11 10:38:34 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.32 2000-01-11 13:06:26 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    654654  {
    655655        if (cs->hMenu) {
    656             SetMenu(cs->hMenu);
     656            ::SetMenu(getWindowHandle(), cs->hMenu);
    657657        }
    658658        else {
    659659                if (windowClass->getMenuNameA()) {
    660660                        cs->hMenu = LoadMenuA(cs->hInstance, windowClass->getMenuNameA());
    661                         if (cs->hMenu) SetMenu(cs->hMenu );
     661                        if (cs->hMenu) ::SetMenu(getWindowHandle(), cs->hMenu );
    662662                }
    663663        }
     
    16731673
    16741674    default:
    1675         if(Msg > WM_USER) {
    1676             return 0;
    1677         }
    1678         return 1; //CB: shouldn't this be 0?
     1675        return 0;
    16791676    }
    16801677}
Note: See TracChangeset for help on using the changeset viewer.