call a function without event
<p>I'm new to wxpython and I hope there is a simple one-line way to solve this:
I have defined some functions:</p>

<pre><code>def function1:
    do something
    execute function2

def function2:
    do something else
</code></pre>

<p>I want to know how I can call function2 ("execute function2") without waiting for an event. Just call function2 in the end of function1.</p>

<p>Edit:
Finally this works:</p>

<pre><code>def function1():
    #do something
    self.function2()

def function2(self):
    #do something else
</code></pre>
