add WXX11 check. make sure only reposition scrollbar under x11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4903,7 +4903,9 @@ 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);
|
||||||
|
#if defined(__WXX11__)
|
||||||
PositionScrollbars();
|
PositionScrollbars();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user