diff --git a/src/EasyGenView.cpp b/src/EasyGenView.cpp index 296c6c6..1ed7001 100644 --- a/src/EasyGenView.cpp +++ b/src/EasyGenView.cpp @@ -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); /* diff --git a/src/EasyGenView.h b/src/EasyGenView.h index c0d753b..a954565 100644 --- a/src/EasyGenView.h +++ b/src/EasyGenView.h @@ -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();