From: herbert b. <dei...@we...> - 2005-10-13 08:44:23
|
hello list member currently i try to add some tests to my wx app and trapped into the problem that once main loop is startet, you can do test only if you have whole different onInint method of main class or you try to send messages but I cant think of it how to achieve that. any good ideas? thanks in advance herbert |
From: Mattia B. <mat...@li...> - 2005-10-16 21:03:11
|
On Thu, 13 Oct 2005 10:43:54 +0200 herbert breunung <dei...@we...> wrote: Hello, > currently i try to add some tests to my wx app and trapped into the > problem that once main loop is startet, you can do test > only if you have whole different onInint method of main class or you try > to send messages but I cant think of it how to achieve > that. any good ideas? You could use a wxTimer and perform the tests in the event handler for the timer event. This is how some test are done in the wxPerl test suite. HTH Mattia |