From: Kapell, J. <jk...@ti...> - 2003-10-29 11:23:15
|
Hello, why do you don't use your subclass directly? After the hints from Mattia, it works very well for me with a subclass of Wx::ListCtrl and XRC. The hints from Mattia you can find at the archive (2003/09/28: XRC and subclassing (was: Help with Wx::Grid and XRC) Best regards Jens Jens Kapell Software Engineer Configuration Management World Wide Tools and Build Group WTBU-Chipset Texas Instruments Berlin AG Alt-Moabit 90 a | 10559 Berlin | Germany Tel: +49.30.39 83 - 1338 | Fax: +49.30.39 83 - 1300 jk...@ti... <mailto:jk...@ti...> | <http://www.ti.com/> -----Original Message----- From: Mark Wardell [mailto:ma...@ne...] Sent: Wednesday, October 29, 2003 12:10 PM To: wxp...@li... Subject: [wxperl-users] Subclass an existing control Hi, I want to sub-class a control that has already been created. Or to be more clear I want to bless a Wx::ListCtrl to add extra functionality. Is this possible? The ListCtrl is created as part of a dialog loaded from XRC. If not, is there some way of cloning the object, or creating a reference to the original object? Otherwise is there a way to create a HASH REF (my object) of the original SCALAR REF (wxwin object) ? Thanks Mark ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ wxperl-users mailing list wxp...@li... https://lists.sourceforge.net/lists/listinfo/wxperl-users |