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
flag otherwise the choice editor will not move to row 1, (the wxRect
given has a -1 y value.)
2. I fixed wxGridCellChoiceEditor::BeginEdit to not only set the
current value into the text field, but also to make it the current
selection in the dropdown.
3. EndEdit was getting called twice for each cell when you leave it
with the TAB or ENTER. I commented out a call to SaveEditControlValue
in SetCurrentCell to take care of this. It shouldn't hurt anything
since SaveEditControlValue is also called within the
EnableCellEditControl(FALSE) which gets called next. If this causes
no problems for anybody it can be removed entirely.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
dbl click was on another item
2. moved private classes from listctrl.h -> listctrl.cpp
3. made sample messages include the item index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
it exposed some bug in GTK's guffaw stuff.
Implmented GC pooling.
Implemented Corrcet mixing of pain region clipping,
user clipping and masked bitmap clipping.
Minor other corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2. EVT_GRID_EDITOR_SHOWN/HIDDEN added
3. Alt-X now work in the grid (instead of being eaten in StartingKey)
4. added CanEnableCellControl() and use it before calling EnableEC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2. regtest sample doesn't crash any more
3. wxLogGui uses msg box for only 1 message
4. "const wxEventType" => "enum"
5. wxEVT_COMMAND_TREE_END_DRAG introduced - see sample for example
6. fixed several non fatal bugs in wxRegKey
7. many changes in regtest sample, not tested yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6017 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
wxGridCellAttr 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@5986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775