Hi!
While testing my wxRuby app on Windows, I found that Wx::Choice behaves
differently under Linux and Windows. For this line of code
@tpf_choice = Wx::Choice.new(self, :choices => %w(1 8 16 32 64 256))
in Linux, the first choice '1' is pre-selected, while in Windows nothing
is selected until I open the list and select a value from it. After
that, blank value cannot be selected.
Is it a bug?
on 2010-02-04 18:57
on 2010-02-05 06:56
I suggest you add set_selection to make sure that 1st value is pre-selected I don't know about you, but I would rather play save when it comes to programming, especially cross platform and since I am not the developer of this great library (just a user) I cannot help you any otherway On Fri, Feb 5, 2010 at 12:57 AM, Valentine Bichkovsky
on 2010-02-05 23:38
On 04/02/2010 17:57, Valentine Bichkovsky wrote:
>
Thanks for the report. It's always been this way, and is so too in
wxWidgets. I don't think it's a bug but rather a difference in the way
the native control works on each platform. But, yes, it can be
surprising.
cheers
alex
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.