I have an application that fails on some windows
machines. When it does fail, I see
Exception: C++ assertion "wxAssertFailure"
failed at ..\..\src\msw\combobox.cpp(
406) in wxComboBox::GetEditHWND():
not read only combobox without edit control?
Traceback (most recent call last):
File "MedIDWare.py", line 78, in <module>
File "UI\MedIDWareController.pyo", line 51, in __init__
File "UI\MedIDWareView.pyo", line 46, in __init__
File "wx\_core.pyo", line 7981, in __init__
File "wx\_core.pyo", line 7555, in _BootstrapApp
File "UI\MedIDWareView.pyo", line 92, in OnInit
File "UI\MedIDWareView.pyo", line 99, in InitFrame
File "wx\xrc.pyo", line 149, in LoadFrame
PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\msw\combob
ox.cpp(406) in wxComboBox::GetEditHWND(): not read only combobox without edit co
ntrol?
I've checked the code mechanics, and the LoadFrame call is happening in the
suggested location. I've tried removing all the CB_READONLY styles in the xrc
file just to see what would happen, and there was no change.
What could I be doing wrong?