Ignore:
Timestamp:
Jan 3, 2003, 10:43:17 PM (23 years ago)
Author:
sandervl
Message:

Always use windows system colors (even in OS/2 L&F mode)

File:
1 edited

Legend:

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

    r9463 r9605  
    1 /* $Id: pmwindow.cpp,v 1.191 2002-12-04 15:23:39 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.192 2003-01-03 21:43:15 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    5353#include <win\dbt.h>
    5454#include "dragdrop.h"
     55#include "menu.h"
    5556
    5657#define DBG_LOCALLOG    DBG_pmwindow
     
    240241    if(fOS2Look)
    241242    {
     243#if 0
    242244        SYSCOLOR_Init(FALSE); //use OS/2 colors
     245#endif
    243246        QueryPMMenuBitmaps();
    244247    }
     
    297300        hbmFrameMenu[PMMENU_CLOSEBUTTONDOWN] = GpiLoadBitmap(hdc, hModDisplay, SBMP_CLOSEDEP, 0, 0);
    298301
    299 #ifdef NEW_WGSS
    300302        //Create win32 bitmap handles of the OS/2 min, max and restore buttons
    301303        hBmpMinButton     = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_MINBUTTON]);
     
    307309        hBmpCloseButton   = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTON]);
    308310        hBmpCloseButtonDown   = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTONDOWN]);
    309 #endif
    310311        DevCloseDC(hdc);
    311312    }
    312313}
    313 //******************************************************************************
    314 //menu.cpp
    315 BOOL MENU_Init();
    316314//******************************************************************************
    317315//******************************************************************************
     
    320318    if(fLooks == OS2_APPEARANCE || fLooks == OS2_APPEARANCE_SYSMENU)
    321319    {
     320#if 0
    322321        SYSCOLOR_Init(FALSE); //use OS/2 colors
     322#endif
    323323        QueryPMMenuBitmaps();
    324324    }
Note: See TracChangeset for help on using the changeset viewer.