[wxpython-users] Re: Trouble when Creating a Panel
David Anderson
zerty.david at gmail.com
Tue May 20 16:42:04 PDT 2008
I tryed to fool the python and what's happening now is... when I click the
menu it "builds" the panel on the left top corner and then put everything on
its place, the problem is that I can see what's happening when building, and
takes about 0.5 seg to finish it =3D/
On Tue, May 20, 2008 at 8:33 PM, David Anderson <zerty.david at gmail.com>
wrote:
> Hi, I have a Class Named MainnApp, Whcih is derived from wx.Frame, There I
> call any of my subclasses that are derived from wx.panels, The thing is, =
if
> I call like this:
> self.Panel =3D DerivedPanel(self, -1)
>
> It shows the derived one fine, But I'm trying to show these panels through
> the menu, So On the init of my MainApp class I create a self.panel =3D
> Frame(self,-1)
>
> and on the Menu's event handler I do like this
> self.Panel =3D DerivedPanel(self, -1)
> The thing is... Its putting everything of the menu on the top left corner
> above everything, Doesn'1t create as when I call it on the init method
> What am I doing wrong?
> Hope you understand my problem
> =3D)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200805=
20/d4379785/attachment-0001.htm
More information about the wxpython-users
mailing list