wxSTC need to reposition the scrollbar when recive size change event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4903,6 +4903,7 @@ void wxStyledTextCtrl::OnSize(wxSizeEvent& WXUNUSED(evt)) {
|
||||
if (m_swx) {
|
||||
wxSize sz = GetClientSize();
|
||||
m_swx->DoSize(sz.x, sz.y);
|
||||
PositionScrollbars();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user