Moved default margins to buffer class Init; reduced chance of accidental selection when clicking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1657,7 +1657,6 @@ void wxRichTextParagraphLayoutBox::Init()
|
||||
|
||||
m_invalidRange = wxRICHTEXT_ALL;
|
||||
|
||||
SetMargins(4);
|
||||
m_partialParagraph = false;
|
||||
m_floatCollector = NULL;
|
||||
}
|
||||
@@ -6851,6 +6850,7 @@ void wxRichTextBuffer::Init()
|
||||
m_suppressUndo = 0;
|
||||
m_handlerFlags = 0;
|
||||
m_scale = 1.0;
|
||||
SetMargins(4);
|
||||
}
|
||||
|
||||
/// Initialisation
|
||||
|
Reference in New Issue
Block a user