in reply to Re: Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings?
in thread Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings?
James: Thank you for this good work.
In fact, like I said in an earlier post, I have realized I have to use "The Grid" (cringe) and I've written a little stand-alone program, which is, in many ways, similar to your example.
Well, there is still something quite strange there: If you look at your example, line 94:
It seems that all cells should contain justsub GetValue { my( $grid, $y, $x ) = @_; return "($y, $x)"; }
"($y, $x)"Then,
$r + $c / 1000;instead of
"($y, $x)"(looks as if it came from line 122 in your code):
It's as if the system is calling GetValueAsDouble instead of GetValue. Why is that? I thought in wxVirtual, the system always calls GetValue?sub GetValueAsDouble { # Row # plus (Col #/1000) my( $grid, $r, $c ) = @_; return $r + $c / 1000; }
Or, in other words, where is the renderer defined?
I've read this wiki: http://wiki.wxperl.nl/Wx::GridTableBase but it doesn't make things much clearer
Many TIA - Helen
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings?
by jmlynesjr (Deacon) on Apr 01, 2013 at 01:21 UTC |