in reply to Re^4: wxWidgets Events question
in thread wxWidgets Events question

Well I'm not sure ...

wxperl_usage / wxperl-usage / wxPerl::Usage / Class Method Browser , available methods, method invocation syntax, link to docs doesn't show that EVT_WIZARD_PAGE_SHOWN is wrapped for wxPerl 9.8822, wxWidgets 2.9.4,

http://search.cpan.org/grep?cpanid=MDOOTSON&release=Wx-0.9923&string=EVT_WIZARD_PAGE_SHOWN&i=1&n=1&C=0 doesn't mention it either

so EVT_WIZARD_PAGE_SHOWN isnt available "officially"

If you can find the number of wxEVT_WIZARD_PAGE_SHOWN it might be possible to sneak it in via $window->Connect ... but it probably won't work (I couldn't get wxEVT_ANY to work)

And there is always patching wxPerl to add it

should do it in EVT_WIZARD_PAGE_CHANGED

Sure, "maybe" , its hard to say what you should do :) try it :)

How can I do that?

$textctrl->AppendText(...); window->...; $window->Update;

Replies are listed 'Best First'.
Re^6: wxWidgets Events question
by Anonymous Monk on May 28, 2014 at 11:12 UTC

    Well, bind-ing/Connect-ing worked , the callbacks are called

    sub Wx::Event::EVT_WIZARD_BEFORE_PAGE_CHANGED ($$$) { $_[0]->Connect( +$_[1], -1, 10235, $_[2] ); } sub Wx::Event::EVT_WIZARD_FINISHED ($$$) { $_[0]->Connect( $_[1], -1, +10237, $_[2] ); } sub Wx::Event::EVT_WIZARD_PAGE_SHOWN ($$$) { $_[0]->Connect( $_[1], -1 +, 10239, $_[2] ); }