From 0d4eb27a0ea95960b335186fb31e6b13a91b4f16 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 23 Sep 2014 17:43:51 +0000 Subject: [PATCH] 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 --- src/stc/stc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stc/stc.cpp b/src/stc/stc.cpp index f54566f4be..82afd02d97 100644 --- a/src/stc/stc.cpp +++ b/src/stc/stc.cpp @@ -4903,6 +4903,7 @@ void wxStyledTextCtrl::OnSize(wxSizeEvent& WXUNUSED(evt)) { if (m_swx) { wxSize sz = GetClientSize(); m_swx->DoSize(sz.x, sz.y); + PositionScrollbars(); } }