Opened 15 years ago

Last modified 14 years ago

#2791 closed defect

Bug with many-rows cells in the last column

Reported by: mbukovskiy Owned by:
Priority: high Milestone:
Component: GUI-generic Version:
Keywords: Cc: mbukovskiy, vadz
Blocked By: Blocking:
Patch: no


Many-rows cells in the last column are displayed not
correctly. There are grid lines inside cell. I found this bug
in version 2.4.2, now i use version 2.6.1 and the problem
still present.

Change History (3)

comment:1 Changed 15 years ago by mbukovskiy

It is easy to see the bug - place following line into "grid"
example at the end of constructor:
But if you change line to
bug disapear. Hence, bug take place in the last column only!

comment:2 Changed 15 years ago by mbukovskiy

Problem solution:
in wxGrid::DrawAllGridLines( wxDC& dc, const wxRegion &
line 7183 (approx) before bug fix

for (j=topRow; j<bottomRow; j++)

for (i=leftCol; i<rightCol; i++)

after bug fix

for (j=topRow; j<=bottomRow; j++)

for (i=leftCol; i<=rightCol; i++)

comment:3 Changed 14 years ago by vadz

Thanks for your fix! It will be included in wx 2.7.2.

Please submit the bugs with fixes as patches, they're
applied much more quickly then. Thanks in advance!

Note: See TracTickets for help on using tickets.