Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: wxPerl virtual list control not calling OnGetItemText?

by Anonymous Monk
on Mar 14, 2013 at 02:59 UTC ( #1023350=note: print w/replies, xml ) Need Help??


in reply to wxPerl virtual list control not calling OnGetItemText?

I am trying to implement a (trivial) virtual list control demo.

What example are you trying to follow?

What does wxListCtrl::OnGetItemText documentation say?

This function must be overridden in the derived class for a control with wxLC_VIRTUAL style.

Your MyForm does not derive a Wx::ListCtrl, it not isa Wx::ListCtrl like a MyListCtrl isa Wx::ListCtrl or Wx::DemoModules::wxListCtrl::Virtual isa Wx::ListCtrl

inheritance is the keyword, when to derive a class you must inherit from it

  • Comment on Re: wxPerl virtual list control not calling OnGetItemText?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2020-10-23 21:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (241 votes). Check out past polls.

    Notices?