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
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
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
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
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
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