Fixed the keyboard selection handling (Please remember to maintain m_Selecting
when Starting/Ending/Discarding selection!!!). Fixed a LineBreak() related bug. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2048,7 +2048,10 @@ wxLayoutList::LineBreak(void)
|
||||
height = m_CursorLine->GetHeight();
|
||||
|
||||
m_CursorLine = m_CursorLine->Break(m_CursorPos.x, this);
|
||||
m_CursorPos.y++;
|
||||
if(m_CursorLine->GetPreviousLine() == NULL)
|
||||
m_FirstLine = m_CursorLine;
|
||||
if(m_CursorPos.x > 0)
|
||||
m_CursorPos.y++;
|
||||
m_CursorPos.x = 0;
|
||||
|
||||
// The following code will produce a height which is guaranteed to
|
||||
|
Reference in New Issue
Block a user