Trouble calling method from one class to another class

RF <[email protected]> Sat, 24 Apr 2021 10:01:44 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
I'm attaching my small demo test app. I'm having a heck of a time figuring 
out how to call add_tab_page() from the MyTreeCtrl class. This should 
happen when I just click on a tree node. While this doesn't seem to make 
any sense, what I plan to do with this action is open a new notebook tab 
and load in the filename into the new tab. But I have to get past this 
first: being able to call the add_tab_page() from the MyTreeCtrl class.

I'm fairly sure I'm missing something small here.

Thank you for any help.

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/d1e36c62-125a-425c-947e-7bb5820e0184n%40googlegroups.com.
pxCore2.zip (application/x-zip, 2.3 KB) - not displayed