reverted Robert's over-optimisation, correct fix coming soon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -376,7 +376,7 @@ static void SwitchSelState(wxDC& dc, wxHtmlRenderingInfo& info,
|
||||
|
||||
|
||||
void wxHtmlWordCell::Draw(wxDC& dc, int x, int y,
|
||||
int WXUNUSED(view_y1), int view_y2,
|
||||
int WXUNUSED(view_y1), int WXUNUSED(view_y2),
|
||||
wxHtmlRenderingInfo& info)
|
||||
{
|
||||
#if 0 // useful for debugging
|
||||
@@ -384,8 +384,6 @@ void wxHtmlWordCell::Draw(wxDC& dc, int x, int y,
|
||||
dc.DrawRectangle(x+m_PosX,y+m_PosY,m_Width /* VZ: +1? */ ,m_Height);
|
||||
#endif
|
||||
|
||||
if (y+m_PosY+m_Height > view_y2) return;
|
||||
|
||||
bool drawSelectionAfterCell = false;
|
||||
|
||||
if ( info.GetState().GetSelectionState() == wxHTML_SEL_CHANGING )
|
||||
|
Reference in New Issue
Block a user