WxScrolledWindow
From WxWiki
[edit] Force a wxScrolledWindow to recalculate the VirtualSize / Scrollbars
Add following two lines to the derived OnSize event.
Recalc Scrollbars
wxSize size = m_targetWindow->GetBestVirtualSize(); m_win->SetVirtualSize( size );
and the virtual area and the scrollbars will be recalculated.
