mirror of
https://github.com/etlegacy/EasyGen.git
synced 2025-02-19 18:01:14 +00:00
Fix cast type compilation error
The macro ON_WM_TIMER static casts to `void (AFX_MSG_CALL CWnd::*)(UINT_PTR)`. This failed with the previous OnTimer method definition. Change the parameter type from UINT to UINT_PTR to match the cast.
This commit is contained in:
parent
705460cf04
commit
8b5662afe8
2 changed files with 2 additions and 2 deletions
|
@ -1028,7 +1028,7 @@ void CEasyGenView::OnLButtonDblClk(UINT nFlags, CPoint point)
|
|||
CView::OnLButtonDblClk(nFlags, point);
|
||||
}
|
||||
|
||||
void CEasyGenView::OnTimer(UINT nIDEvent)
|
||||
void CEasyGenView::OnTimer(UINT_PTR nIDEvent)
|
||||
{
|
||||
CView::OnTimer(nIDEvent);
|
||||
/*
|
||||
|
|
|
@ -109,7 +109,7 @@ protected:
|
|||
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
|
||||
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
|
||||
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
|
||||
afx_msg void OnTimer(UINT nIDEvent);
|
||||
afx_msg void OnTimer(UINT_PTR nIDEvent);
|
||||
afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
|
||||
afx_msg void OnCameraAlign();
|
||||
afx_msg void OnCameraLeft();
|
||||
|
|
Loading…
Reference in a new issue