both 'manually' and via sizer layout to scroll sample.
Tweaked it for various 2.4 idioms that have arisen since
it was written.
Replaced GenericScrolledWin's DoSetVirtualSize, it really is
needed for everything to work for both the user and lib.
Don't call it from default scrolledwindow OnSize handlers
unless AutoLayout is enabled though, and use the larger of
best and client size. Hopefully this will fix any earlier
troubles this caused with M.
Purged (many) stray tabs &co from sizer.cpp
Changed DoGetBestSize to return wxDefaultSize when no useful
best size can be determined. If GetBestSize is intended to
return the minimum undistorted size a window can take, we
must be able to discriminate between valid and 'best guess'
sizes, else the best guess windows can only grow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
bug in wxGrid (outer regions). You must
not to maths with update regions within
an scroll related OnPaint(). Everything
else is allowed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Corrected cursors - not yet perfect,
Added some tests to scroll sample
Made wxScrolledWindow::Scroll() call Refresh(),
Change wxListCtrl to reflect the latter change (wxTreeCtrl will follow),
Added activate event for wxMDIChildFrame
Implemented wxSIMPLE_BORDER for wxWindow (no controls),
Tried to correct positioning upon start-up - no way,
Rewrote catching of scroll events - page-up, page-down, up and down
work now. Don't know what TOP and BOTTOM are used for.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
added wxNO_BORDER style to button classes
added WMclass and WMname strings to dialogs and frames
added flag to scroll sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775