Ignore:
Timestamp:
Feb 10, 2003, 7:31:45 PM (23 years ago)
Author:
sandervl
Message:

update for old WGSS

File:
1 edited

Legend:

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

    r9765 r9781  
    1 /* $Id: pmwindow.cpp,v 1.195 2003-02-06 20:28:39 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.196 2003-02-10 18:31:45 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    257257} /* End of main */
    258258//******************************************************************************
     259#ifdef NEW_WGSS
    259260HBITMAP OPEN32API _O32_CreateBitmapFromPMHandle(HBITMAP hPMBitmap);
    260261
     
    269270    return yyrc;
    270271}
     272#endif
    271273//******************************************************************************
    272274static void QueryPMMenuBitmaps()
     
    298300        hbmFrameMenu[PMMENU_CLOSEBUTTONDOWN] = GpiLoadBitmap(hdc, hModDisplay, SBMP_CLOSEDEP, 0, 0);
    299301
     302#ifdef NEW_WGSS
    300303        //Create win32 bitmap handles of the OS/2 min, max and restore buttons
    301304        hBmpMinButton     = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_MINBUTTON]);
     
    307310        hBmpCloseButton   = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTON]);
    308311        hBmpCloseButtonDown   = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTONDOWN]);
     312#endif
    309313        DevCloseDC(hdc);
    310314    }
     
    15741578                    //    -> problems with update region if we don't do it
    15751579                    //       todo: rewrite whole handling
    1576                     dprintf(("PMFRAME: WM_WINDOWPOSCHANGED invalidate all"));
    15771580                    WinInvalidateRect(hwnd,NULL,TRUE);
    15781581                }
Note: See TracChangeset for help on using the changeset viewer.