Ignore:
Timestamp:
Jan 4, 2003, 2:49:27 PM (23 years ago)
Author:
sandervl
Message:

put usage of CreateBitmapFromPMHandle in #ifdef

File:
1 edited

Legend:

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

    r9605 r9610  
    1 /* $Id: pmwindow.cpp,v 1.192 2003-01-03 21:43:15 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.193 2003-01-04 13:49:27 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    259259} /* End of main */
    260260//******************************************************************************
     261#ifdef NEW_WGSS
    261262HBITMAP OPEN32API _O32_CreateBitmapFromPMHandle(HBITMAP hPMBitmap);
    262263
     
    271272    return yyrc;
    272273}
     274#endif
    273275//******************************************************************************
    274276static void QueryPMMenuBitmaps()
     
    300302        hbmFrameMenu[PMMENU_CLOSEBUTTONDOWN] = GpiLoadBitmap(hdc, hModDisplay, SBMP_CLOSEDEP, 0, 0);
    301303
     304#ifdef NEW_WGSS
    302305        //Create win32 bitmap handles of the OS/2 min, max and restore buttons
    303306        hBmpMinButton     = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_MINBUTTON]);
     
    309312        hBmpCloseButton   = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTON]);
    310313        hBmpCloseButtonDown   = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTONDOWN]);
     314#endif
    311315        DevCloseDC(hdc);
    312316    }
Note: See TracChangeset for help on using the changeset viewer.