Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 romping around the Monastery: (6)
As of 2024-04-24 22:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found