Ignore:
Timestamp:
Aug 24, 2007, 2:13:12 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/ProjectEditor/Ruler.cpp

    r24 r302  
    55        case WM_PAINT:
    66            CRuler *pobj_Ruler;
    7             pobj_Ruler=(CRuler *)GetWindowLong(hwnd,GWL_USERDATA);
     7            pobj_Ruler=(CRuler *)GetWindowLongPtr(hwnd,GWLP_USERDATA);
    88
    99            HDC hdc;
     
    2626        0,0,0,0,
    2727        hParent,0,hInst,0);
    28     SetWindowLong(hRulerWnd,GWL_USERDATA,(long)this);
     28    SetWindowLongPtr(hRulerWnd,GWLP_USERDATA,(long)this);
    2929
    3030    HDC hdc;
Note: See TracChangeset for help on using the changeset viewer.