Menu

#176 KeyError while editing a wxComboBox

open
None
5
2004-02-16
2004-01-23
No

Here are the details:

1. Start fresh

$ cd
$ rm -rf .boa-constructor
$ boa-constructor

2. Make a new wxApp with a wxCombo Box

Click on the "wxApp" button in the "New" tab of the
Palette Window.
Click on the "Basic Controls" tab of the Palette
Window, then click on the "wxComboBox" button in that
tab. In the Editor, click on the "Frame Designer"
button (this will bring up a new blank window called
wxFrame1). Click on this new window to add the wxComboBox.

3. Fiddle with the wxComboBox name/choices

In the Inspector, double click on the Name field which
should contain the text 'comboBox1'. Type this into the
field (changing the Name): foobar
Then in the Inspector, double click on the Choices
field. Type this into the field between the braces
(changing the Choices): 'apple', 'banana'
Then click the "Recreate selection" button in the
Inspector. This should cause the traceback to print out
on the command line. Also, you should get an error
dialog with the title 'Error' that says: KeyError:
'comboBox1'

[debian bug page: http://bugs.debian.org/228670 ]

Discussion

  • Riaan Booysen

    Riaan Booysen - 2004-02-16
    • assigned_to: nobody --> riaan
     
  • Riaan Booysen

    Riaan Booysen - 2004-02-16

    Logged In: YES
    user_id=438

    Hi Cdric,

    Confirmed, I'll try to fix it ASAP.

    Thanks,
    Riaan.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.