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 studying the Monastery: (11)
As of 2015-07-02 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (31 votes), past polls