Sorry for being so unclear. Unfortunately a code sample would not be possible. I can give some links to the documentation pages I am using and try to make my explanation more clear?

The Wizard documentation link: http://docs.wxwidgets.org/2.8.12/wx_wxwizard.html#wxwizard So there is this window wizard I want to use. It navigates threw some pages (special WizardPage or WizardPageSimple - they are practicaly panels with links to previous and next page). And in this WizardPages I just place my controls like buttons and text fields. The wizard window has some special events like page changed(meaning next/back button click) etc. I am using wizard with 2 pages. The first for collecting user data. The second - for running my program with that data and displaying results. While my program (well, it's not really a program, just the real logic in my code, classes etc, that can happily live without GUI, they do the real stuff). That code produces some progress messages: they tell what it is doing at the moment. I want my second page to display these messages. But it's kind of like... sending some info to the GUI without events, without user input, just some other part of the code wants to give it.

I thought that I can run my real code with the collected data in some appropriate event handler. But what would that event be? I liked the EVT_WIZARD_PAGE_SHOWN(id, func). The problem is my program doesn't recognize it? But it recognizes the EVT_WIZARD_PAGE_CHANGED - so I thought just after this handler is done- it's my turn. How is that done and is it possible? Or is there another approach to running my code and sending some stuff to the GUI?


In reply to Re^2: wxWidgets Events question by greenhorn_007
in thread wxWidgets Events question by greenhorn_007

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.