Re: problem with wxPanel derivation class ~ thanks

2007-10-12 Thread Chris Mellon
On 10/12/07, <"@bag.python.org <"none> wrote: > none wrote: > > wxGlade created a simple Frame with a panel a sizer and 3 wxControls , > Thanks All, > I didn't make the super() call (java terminology) > to the base class. > > this is the only python group (en) on giganews, my first search > no

Re: problem with wxPanel derivation class ~ thanks

2007-10-12 Thread none
none wrote: > wxGlade created a simple Frame with a panel a sizer and 3 wxControls , > saticText, TextCtrl, and a Button. > > The resulting code works fine. > > Now the problem. > I wish to make a separate class derrived from wxPanel that has the sized > and controls as above. It jusst won't wor

Re: problem with wxPanel derivation class

2007-10-12 Thread kyosohma
On Oct 11, 4:01 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > On 10/11/07, <"@bag.python.org <"none> wrote:> wxGlade created a simple Frame > with a panel a sizer and 3 wxControls , > > saticText, TextCtrl, and a Button. > > > > > It seems as though the complaint is that a 'wxWindow *' is expe

Re: problem with wxPanel derivation class

2007-10-11 Thread Chris Mellon
On 10/11/07, <"@bag.python.org <"none> wrote: > wxGlade created a simple Frame with a panel a sizer and 3 wxControls , > saticText, TextCtrl, and a Button. > > It seems as though the complaint is that a 'wxWindow *' is expected, > 'Panel' is received > However, Panel IS a wx.Panel derivative whi

Re: problem with wxPanel derivation class

2007-10-11 Thread kyosohma
You've got calls for properties in other classes and you don't initialize the panel object. I edited the code somewhat so it'll at least run. I tried to comment where I changed things, but I may have missed a few minor points. See below: #The commented out code from MyFrame was moved to class

Re: problem with wxPanel derivation class

2007-10-11 Thread Larry Bates
none wrote: > wxGlade created a simple Frame with a panel a sizer and 3 wxControls , > saticText, TextCtrl, and a Button. > > The resulting code works fine. > > Now the problem. > I wish to make a separate class derrived from wxPanel that has the sized > and controls as above. It jusst won't wor