for some systems. If this causes no problems then this flag can be
removed.
2. Took out the edit timer so now a second click in the current cell
will activate the edit control, even if it is several seconds later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2. Fix for full cell background to be painted. (One line on the edges
was showing through to the background.)
3. Added current cell highlight. Currently it just draws a thick
border using the gridLineColour just inside the cell borders.
4. Make dragging a little less sensitive by ensuring that the mouse
drags at least 3 pixels before anything is done to the grid.
5. CaptureMouse while drag-selecting cells and fixed to make cells
visible if dragging outside window boundaries. Still a problem here
though, it moves way to fast to see what's happening (at least on MSW.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
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