Reading XRC by usin wxPython

Hi,

I have a problem when reading the XRC code generated from wxGlade. There is
always a warning coming out showing that "XRC resource '
frame_1_menuba'(class wxMenubar) not found". When looking at the detail, it
says that Subclass 'MyFrame' not found for resource 'frame_1', not
subclassing!.

This will result in the menu not showing in the frame.

I feel it is something wrong with the subclass "MyFrame", but when deleting
it, the whole frame will not show.

So can some one tell me what is wrong with it?

Many thanks in advance.

Carolyn

REAL
318 Davenport Hall
607 S. Mathews Av.
Urbana, IL. 61801
Tel. 333-0414

Carolyn D. Guo wrote:

Hi,

I have a problem when reading the XRC code generated from wxGlade. There is
always a warning coming out showing that "XRC resource '
frame_1_menuba'(class wxMenubar) not found". When looking at the detail, it
says that Subclass 'MyFrame' not found for resource 'frame_1', not
subclassing!.

This will result in the menu not showing in the frame.

I feel it is something wrong with the subclass "MyFrame", but when deleting
it, the whole frame will not show.

So can some one tell me what is wrong with it?

Plese send a small as possible xrc and py app that shows the problem.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!