CTextBox: add signal handler into scroll methodes

This commit is contained in:
2016-01-17 20:53:55 +01:00
parent b1f08a6012
commit 35a08fc5dd
2 changed files with 3 additions and 0 deletions

View File

@@ -685,6 +685,7 @@ void CTextBox::scrollPageDown(const int pages)
m_nCurrentLine = m_nCurrentPage * m_nLinesPerPage;
if (oldCurrentLine != m_nCurrentLine)
refresh();
OnAfterScrollPage();
}
void CTextBox::scrollPageUp(const int pages)
@@ -708,6 +709,7 @@ void CTextBox::scrollPageUp(const int pages)
m_nCurrentLine = m_nCurrentPage * m_nLinesPerPage;
if (oldCurrentLine != m_nCurrentLine)
refresh();
OnAfterScrollPage();
}
void CTextBox::refresh(void)