Ticket #1514: HyperLink.patch

File HyperLink.patch, 1.3 KB (added by eyebex, 14 years ago)

Multi-file patch for misc/Hyperlink.*

  • HyperLink.cpp

    RCS file: /cvsroot/filezilla/FileZilla/source/misc/HyperLink.cpp,v
    retrieving revision 1.2
    diff -u -r1.2 HyperLink.cpp
     
    179179// lines of code and more reliable than turning on SS_NOTIFY in OnCtlColor
    180180// because Windows doesn't send WM_CTLCOLOR to bitmap static controls."
    181181// (Paul DiLascia)
    182 UINT CHyperLink::OnNcHitTest(CPoint /*point*/)
     182LRESULT CHyperLink::OnNcHitTest(CPoint /*point*/)
    183183{
    184184        return HTCLIENT;   
    185185}
  • hyperlink.h

    RCS file: /cvsroot/filezilla/FileZilla/source/misc/hyperlink.h,v
    retrieving revision 1.1.1.1
    diff -u -r1.1.1.1 hyperlink.h
     
    122122    afx_msg void OnSetFocus(CWnd* pOldWnd);
    123123    afx_msg void OnKillFocus(CWnd* pNewWnd);
    124124    afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
    125     afx_msg UINT OnNcHitTest(CPoint point);
     125    afx_msg LRESULT OnNcHitTest(CPoint point);
    126126    afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
    127127    //}}AFX_MSG
    128128    DECLARE_MESSAGE_MAP()