object.
2. wxGridCellRenderer::Draw updated to expect an attr object and use
it instead of going back to the grid for everything
3. The selection colours are now initialized from wxSystemSettings,
and are configurable.
4. Now either CreateGrid() or SetTable() can be called to initialize
the grid. Added a test for using a non-default table.
5. Reduced flicker even more byt using empty EVT_ERASE_BACKGROUND
handlers.
6. The beginings of wxGridCellEditor are in there but not activated
yet. (This is the next step.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
- clicking outside cell area no longer causes crashes
- clicking beyond labels is now ignored
- better cell selection code
- old grid sample now works with this grid
- newlines can be entered in to cell edit control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
sets the cell edit control to be editable or read-only.
Fixed row sizing problem where text was clipped in the cell edit control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
- wxGrid now derives from wxScrolledWindow
- Row labels, col labels, corner labels and grid cell area
implemented as separate classes
The new design fixes the display problems (bad flicker when
scrolling) and simplifies the internal handling of grid cell
coordinates, the edit control etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
mouse was dragged out of the grid cell area.
Cell text values now echo changes in top edit control if in-place
editing is disabled.
Changed highlight scheme again so that a border is drawn around the
current cell whether in-place editing is on or off. Hopefully this is
less confusing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Define wxUSE_NEW_GRID as 1 in setup.h to compile the new wxGrid
otherwise the old wxGrid class will be compiled.
Treat with caution and expect bugs and missing bits at this stage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775