Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Porting a wxPython List Control example into wxPerl: don't see column headings?

by HelenCr (Monk)
on Mar 25, 2013 at 00:34 UTC ( #1025204=note: print w/ replies, xml ) Need Help??


in reply to Re: Porting a wxPython List Control example into wxPerl: don't see column headings?
in thread Porting a wxPython List Control example into wxPerl: don't see column headings?

James and Anonymous: you are right, of course.

In my OP, the call to Wx::ListCtrl (code line 25) should be changed from:

$self->{list} = Wx::ListCtrl->new($self->{panel}, wxLC_REPORT, [200, -1]);

to:

$self->{list} = Wx::ListCtrl->new($self->{panel}, -1, wxDefaultPosition, [200, -1], wxLC_REPORT);

then it works fine, as intended.

Thank you for your help - Helen


Comment on Re^2: Porting a wxPython List Control example into wxPerl: don't see column headings?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025204]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2014-10-21 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (105 votes), past polls