wxX11 no combobox update after selection changes

Jan Boehme aiscape at hotmail.com
Fri Jan 19 12:24:03 PST 2007


Hi Vadim!

Vadim Zeitlin wrote:
> On Fri, 19 Jan 2007 18:15:20 +0100 Jan Boehme <aiscape at hotmail.com> wrote:
>  I don't have anything against DialogBlocks but it's really much faster for
> me to debug the problem in a sample that I already know. Besides, shouldn't
> you see the problem even in unmodified widgets sample in fact? And if you
> don't see it there, what's the difference between it and your example?

I can reproduce the bug in the sample: samples/controls/controls.cpp

If you change line 799 from

                               wxTE_PROCESS_ENTER);

to

                               wxTE_READONLY);

the bug is visible.

The sample contains a tab named wxCombobox. Select "wonderful" and push 
"Select #2" and "Select 'This'". In readonly mode the combobox doesn't 
refresh its view. Internally it seems to work. You can try the wxChoice 
tab too - same problem. wxChoice is in read only mode and nothing will 
be updated visually.

Thanks for helping, jan.






More information about the wx-users mailing list