General tidy-up (mainly typecasts) to allow the use of the SGI native
compilers (tested on Irix 6.5 with -mips3 -n32). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -155,14 +155,14 @@ void wxScrolledWindow::OnScroll(wxScrollEvent& event)
|
||||
if (orient == wxHORIZONTAL)
|
||||
{
|
||||
if (m_xScrollingEnabled)
|
||||
ScrollWindow(-m_xScrollPixelsPerLine * nScrollInc, 0, NULL);
|
||||
ScrollWindow(-m_xScrollPixelsPerLine * nScrollInc, 0, (const wxRect *) NULL);
|
||||
else
|
||||
Refresh();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_yScrollingEnabled)
|
||||
ScrollWindow(0, -m_yScrollPixelsPerLine * nScrollInc, NULL);
|
||||
ScrollWindow(0, -m_yScrollPixelsPerLine * nScrollInc, (const wxRect *) NULL);
|
||||
else
|
||||
Refresh();
|
||||
}
|
||||
|
Reference in New Issue
Block a user