1. don't call GetPartOfWrappendLine() unnecessarily
2. optimized it (replaced by a call to HitTestLine) for the other cases git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -446,7 +446,7 @@ TextTestFrame::TextTestFrame(const wxString& title)
|
||||
#else
|
||||
wxDefaultSize,
|
||||
#endif
|
||||
wxTE_MULTILINE);
|
||||
wxTE_MULTILINE | wxHSCROLL);
|
||||
sizerDown->Add(m_textLog, 1, wxGROW | wxALL, 5);
|
||||
wxBoxSizer *sizerBtns = new wxBoxSizer(wxHORIZONTAL);
|
||||
btn = new wxButton(m_panel, TextTest_ClearLog, _T("Clear &log"));
|
||||
|
Reference in New Issue
Block a user