Ignore:
Timestamp:
Jul 18, 1999, 10:41:13 PM (26 years ago)
Author:
cbratschi
Message:

Native resource management

File:
1 edited

Legend:

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

    r333 r334  
    1111   - window words not right implemented
    1212   - update checkboxes.bmp to Win9x style
    13    - LoadBitmapA() doesn't work with native resources
    1413*/
    1514
     
    121120    BITMAP bmp;
    122121
    123     hbitmapCheckBoxes = LoadBitmapA(0, MAKEINTRESOURCEA(OBM_CHECKBOXES));
     122    hbitmapCheckBoxes = NativeLoadBitmap(0,MAKEINTRESOURCEA(OBM_CHECKBOXES));
    124123    GetObjectA( hbitmapCheckBoxes, sizeof(bmp), &bmp );
    125124    checkBoxWidth  = bmp.bmWidth / 4;
Note: See TracChangeset for help on using the changeset viewer.