in reply to Re^2: C++ to wxPerl Conversion
in thread C++ to wxPerl Conversion

In that case, see also http://search.cpan.org/dist/Wx/lib/Wx/NewClass.pod - adding a new class to wxPerl

Replies are listed 'Best First'.
Re^4: C++ to wxPerl Conversion
by Anonymous Monk on Apr 07, 2011 at 17:35 UTC

    Thanks for the link. I've made a copy for later review. This would be used if I wanted to wrap the C++ code as is? I have the book "Cross-Platform GUI Programming with wxWidgets" by Smart, Hock, & Csomor. I've gone back to the KISS method and ported to wxPerl their 1st Device-Context-Drawing C++ example from page 133. I got it working yesterday. It's not a line for line translation. I'll try to use this for a base and slowly move code over from the LED Display C++ program. Is there a file that contains all of the wxPerl CONSTANT definitions? i.e. EVENT_names, wxCOLORS, wxXXXX_XXXXX, etc...Thanks again.

      This would be used if I wanted to wrap the C++ code as is?

      Yes, if you wanted to wrap wxLEDNumberCtrl (part of wx-gizmos)

      Is there a file that contains all of the wxPerl CONSTANT definitions? i.e. EVENT_names, wxCOLORS, wxXXXX_XXXXX, etc...Thanks again.

      Yeah, why do you want to know?

        Because the 2000+ page wx.pdf documentation file takes way too long to wade/search through. May be an easier way, but like I said I'm new at wxPerl and Perl in general.