compilation fix for Watcom (sorry, Vadim, there's some bug in Watcom C++, it doesn't compile this instance of valid C++ code, producing an obviously incorrect error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b43a988613
commit
000307d7a8
@ -134,17 +134,18 @@ void wxScrollArrows::DrawArrow(Arrow arrow,
|
|||||||
{ wxUP, wxDOWN }
|
{ wxUP, wxDOWN }
|
||||||
};
|
};
|
||||||
|
|
||||||
void (wxRenderer::*pfn)(wxDC&, wxDirection, const wxRect&, int) =
|
if ( scrollbarLike )
|
||||||
scrollbarLike ? &wxRenderer::DrawScrollbarArrow
|
m_control->GetRenderer()->DrawScrollbarArrow(
|
||||||
: &wxRenderer::DrawArrow;
|
dc,
|
||||||
|
arrowDirs[m_control->IsVertical()][arrow],
|
||||||
(m_control->GetRenderer()->*pfn)
|
rect,
|
||||||
(
|
m_control->GetArrowState(arrow));
|
||||||
dc,
|
else
|
||||||
arrowDirs[m_control->IsVertical()][arrow],
|
m_control->GetRenderer()->DrawArrow(
|
||||||
rect,
|
dc,
|
||||||
m_control->GetArrowState(arrow)
|
arrowDirs[m_control->IsVertical()][arrow],
|
||||||
);
|
rect,
|
||||||
|
m_control->GetArrowState(arrow));
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user