Using a wxPanel subclass

Federico Fanton <[email protected]>
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
Hi everyone!

Is it possible to tell wxGlade to use a custom class instead of wxPanel? 
I've tried changing the "Class" field but wxGlade generates a new file 
with the class definition... I just want something like

from mystandardpanels import MyCustomPanel
self.pnl_main = MyCustomPanel(self, wx.ID_ANY)

instead of

self.pnl_main = wx.Panel(self, wx.ID_ANY)

with MyCustomPanel being a class that already exists.

Thanks for your help!

(wxGlade 0.7.2)

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.