From: <re...@us...> - 2007-05-09 19:57:23
|
Revision: 182 http://svn.sourceforge.net/modplug/?rev=182&view=rev Author: rewbs Date: 2007-05-09 12:57:16 -0700 (Wed, 09 May 2007) Log Message: ----------- <pelya & rewbs> Fix compilation in VS2k5 (http://forums.microsoft.com/msdn/showpost.aspx?postid=8663&siteid=1) Modified Paths: -------------- trunk/OpenMPT/mptrack/Mainbar.cpp trunk/OpenMPT/mptrack/Mainbar.h trunk/OpenMPT/mptrack/View_ins.cpp trunk/OpenMPT/mptrack/View_ins.h trunk/OpenMPT/mptrack/View_smp.cpp trunk/OpenMPT/mptrack/View_smp.h Modified: trunk/OpenMPT/mptrack/Mainbar.cpp =================================================================== --- trunk/OpenMPT/mptrack/Mainbar.cpp 2007-05-07 13:34:49 UTC (rev 181) +++ trunk/OpenMPT/mptrack/Mainbar.cpp 2007-05-09 19:57:16 UTC (rev 182) @@ -930,7 +930,11 @@ } +#if _MSC_VER >= 1400 +LRESULT CModTreeBar::OnNcHitTest(CPoint point) +#else UINT CModTreeBar::OnNcHitTest(CPoint point) +#endif //----------------------------------------- { CRect rect; Modified: trunk/OpenMPT/mptrack/Mainbar.h =================================================================== --- trunk/OpenMPT/mptrack/Mainbar.h 2007-05-07 13:34:49 UTC (rev 181) +++ trunk/OpenMPT/mptrack/Mainbar.h 2007-05-09 19:57:16 UTC (rev 182) @@ -116,7 +116,11 @@ protected: //{{AFX_MSG(CModTreeBar) afx_msg void OnNcPaint(); +#if _MSC_VER >= 1400 + afx_msg LRESULT OnNcHitTest(CPoint point); +#else afx_msg UINT OnNcHitTest(CPoint point); +#endif afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnNcMouseMove(UINT nHitTest, CPoint point); Modified: trunk/OpenMPT/mptrack/View_ins.cpp =================================================================== --- trunk/OpenMPT/mptrack/View_ins.cpp 2007-05-07 13:34:49 UTC (rev 181) +++ trunk/OpenMPT/mptrack/View_ins.cpp 2007-05-09 19:57:16 UTC (rev 182) @@ -1699,7 +1699,11 @@ } +#if _MSC_VER >= 1400 +LRESULT CViewInstrument::OnNcHitTest(CPoint point) +#else UINT CViewInstrument::OnNcHitTest(CPoint point) +#endif //--------------------------------------------- { CRect rect; Modified: trunk/OpenMPT/mptrack/View_ins.h =================================================================== --- trunk/OpenMPT/mptrack/View_ins.h 2007-05-07 13:34:49 UTC (rev 181) +++ trunk/OpenMPT/mptrack/View_ins.h 2007-05-09 19:57:16 UTC (rev 182) @@ -98,7 +98,11 @@ afx_msg BOOL OnEraseBkgnd(CDC *) { return TRUE; } afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp); +#if _MSC_VER >= 1400 + afx_msg LRESULT OnNcHitTest(CPoint point); +#else afx_msg UINT OnNcHitTest(CPoint point); +#endif afx_msg void OnNcPaint(); afx_msg void OnPrevInstrument(); afx_msg void OnNextInstrument(); Modified: trunk/OpenMPT/mptrack/View_smp.cpp =================================================================== --- trunk/OpenMPT/mptrack/View_smp.cpp 2007-05-07 13:34:49 UTC (rev 181) +++ trunk/OpenMPT/mptrack/View_smp.cpp 2007-05-09 19:57:16 UTC (rev 182) @@ -1406,7 +1406,11 @@ } +#if _MSC_VER >= 1400 +LRESULT CViewSample::OnNcHitTest(CPoint point) +#else UINT CViewSample::OnNcHitTest(CPoint point) +#endif //----------------------------------------- { CRect rect; Modified: trunk/OpenMPT/mptrack/View_smp.h =================================================================== --- trunk/OpenMPT/mptrack/View_smp.h 2007-05-07 13:34:49 UTC (rev 181) +++ trunk/OpenMPT/mptrack/View_smp.h 2007-05-09 19:57:16 UTC (rev 182) @@ -59,7 +59,11 @@ afx_msg BOOL OnEraseBkgnd(CDC *) { return TRUE; } afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp); +#if _MSC_VER >= 1400 + afx_msg LRESULT OnNcHitTest(CPoint point); +#else afx_msg UINT OnNcHitTest(CPoint point); +#endif afx_msg void OnNcPaint(); afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |