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:
Vadim Zeitlin
2014-09-23 17:43:51 +00:00
parent be22f9e634
commit 0d4eb27a0e

View File

@@ -4903,6 +4903,7 @@ void wxStyledTextCtrl::OnSize(wxSizeEvent& WXUNUSED(evt)) {
if (m_swx) { if (m_swx) {
wxSize sz = GetClientSize(); wxSize sz = GetClientSize();
m_swx->DoSize(sz.x, sz.y); m_swx->DoSize(sz.x, sz.y);
PositionScrollbars();
} }
} }