Ticket #42 (closed defect)

Opened 8 years ago

Last modified 8 years ago

new wxGrid bug&fix in AutoSizeColOrRow

Reported by: anonymous Owned by: vadz
Priority: normal Milestone:
Component: GUI-generic Version:
Keywords: Cc: vadz
Blocked By: Patch: no
Blocking:

Description

Bug#: 110
Product: .wxWindows
Version: 2.2.0
Platform: All
OS/Version: All
Status: NEW
Resolution:
Severity: normal
Priority: P2
Component: generic
AssignedTo: ???
ReportedBy: niki@…
URL:
Summary: new wxGrid bug&fix in AutoSizeColOrRow

fails to get RowLabel when column is FALSE
suggested fix:

*** src\generic\grid.cpp.base Fri Jun 30 14:43:34 2000
--- src\generic\grid.cpp Mon Sep 11 13:28:32 2000
***************
*** 7905,7911 ****

if ( column )

dc.GetTextExtent( GetColLabelValue(col), &w, &h );

else

! dc.GetTextExtent( GetRowLabelValue(col), &w, &h );

extent = column ? w : h;
if ( extent > extentMax )

--- 7905,7911 ----

if ( column )

dc.GetTextExtent( GetColLabelValue(col), &w, &h );

else

! dc.GetTextExtent( GetRowLabelValue(row), &w, &h );

extent = column ? w : h;
if ( extent > extentMax )

Change History

Changed 8 years ago by vadz

applied, thanks

Note: See TracTickets for help on using tickets.