Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: wxPerl virtual list control not calling OnGetItemText?

by Anonymous Monk
on Mar 14, 2013 at 02:59 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1023350]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2025-12-14 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (94 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.