Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025204]
help
Chatterbox?
[choroba]: Email::Address DoS
[Corion]: (that module has been deprecated by its author already, so that's fair. Although I wonder why the backtracking can't be fixed to handle the formfeeds gracefully)
[choroba]: not enough tuits?
[Corion]: choroba: Yeah, maybe. I'm also unaware of who uses Email:: modules, but that's more my limited horizon of things ;)
[Corion]: Ah - there even is the replacement of Email::Address::XS , by the bug reporter, which hopefully fixes this bug already ;)

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2018-06-20 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (116 votes). Check out past polls.

    Notices?