Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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?
[holli]: i'm surprised it even executes. the server sends text/plain AND a content-dispositio n header
[holli]: this really really should not be executed as Javascript
erix's head is getting content indisposed
[holli]: maybe try a GET instead?
[moritz]: I must say, when I was very active on perlmonks, I got really used to the markup and all the workflows
[moritz]: and then I didn't post for a while, and then tried to answer a question. It nearly drove me nuts
[moritz]: when you try to quote part of a question, you have to know/guess/reverse -engineer what kind of markup they used
[holli]: see? https://imgur.com/ a/XpF4b
[moritz]: and stuff it into a <blockquote>...</ blockquote>, which is, like, not at all bulky
[moritz]: specially if you're used to markdown

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (15)
As of 2017-11-20 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (291 votes). Check out past polls.

    Notices?