I created a trivial app:
App->Frame->Sizer->Button
I added extracode to both the frame and the button. Specifically, "print
frame_1" and "print button_1" (plus a few newlines).
The generated code was:
# begin wxGlade: extracode
print 'frame_1'
print 'button_1'
print 'frame_1'
print 'button_1'
# end wxGlade
I had only expected the extracode to appear once.
Nobody/Anonymous
Code generation - python
None
Public
|
Date: 2009-09-12 11:21 This bug occurs only on a new file creation. In the module py_codegen.py |
| Filename | Description | Download |
|---|---|---|
| x.wxg | Source which demonstrates the problem | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 280040: x.wxg | 2008-06-03 17:59 | mgrazebrook |