Some minor corrections (typos, return value handling).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2006-01-02 16:17:43 +00:00
parent e90d93d1b4
commit 42782237f2
4 changed files with 11 additions and 7 deletions

View File

@@ -812,8 +812,10 @@ void wxSlider::GetPosition(
vPoint.x -= vPt.x;
vPoint.y -= vPt.y;
}
*pnX = vPoint.x;
*pnY = vPoint.y;
if (pnX)
*pnX = vPoint.x;
if (pnY)
*pnY = vPoint.y;
} // end of wxSlider::GetPosition
int wxSlider::GetSelEnd() const