[Wgui-cvs] wgui/tests TestView1.cpp,1.81,1.82
Status: Beta
Brought to you by:
greenwire
|
From: Rob W. <gre...@us...> - 2005-09-26 18:37:56
|
Update of /cvsroot/wgui/wgui/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19172/tests Modified Files: TestView1.cpp Log Message: Fixed OnMouseButtonDown and OnMouseButtonUp Index: TestView1.cpp =================================================================== RCS file: /cvsroot/wgui/wgui/tests/TestView1.cpp,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** TestView1.cpp 22 Sep 2005 20:51:48 -0000 1.81 --- TestView1.cpp 26 Sep 2005 18:37:48 -0000 1.82 *************** *** 209,215 **** bool CTestView::OnMouseButtonDown(wGui::CPoint Point, unsigned int Button) { ! bool bResult = false; ! if (! CView::OnMouseButtonDown(Point, Button) && m_bVisible && (Button == wGui::CMouseMessage::RIGHT) && (m_WindowRect.SizeRect().HitTest(ViewToClient(Point)) == wGui::CRect::RELPOS_INSIDE)) { --- 209,215 ---- bool CTestView::OnMouseButtonDown(wGui::CPoint Point, unsigned int Button) { ! bool bResult = CView::OnMouseButtonDown(Point, Button); ! if (!bResult && m_bVisible && (Button == wGui::CMouseMessage::RIGHT) && (m_WindowRect.SizeRect().HitTest(ViewToClient(Point)) == wGui::CRect::RELPOS_INSIDE)) { |