[erlang-questions] wxErlang

John Webb jwebb@REDACTED
Fri Jan 4 08:11:28 CET 2008


On Jan 4, 2008, at 9:43 AM, John Webb wrote:

> Hi Bob,
>
> On Jan 3, 2008, at 8:19 AM, Bob Cowdery wrote:
>
>> I have a couple of small issues with wxErlang. In general it is
>> working
>> great so far.
>>
>> 1. I can't get any events to fire off a wxToggleButton. As far as I
>> remember this behaves like a check box but neither
>> command_button_clicked nor command_checkbox_clicked fire. Is there
>> some
>> other event I should be looking at.
>
> wxToggleButton generates a wxEVT_COMMAND_TOGGLEBUTTON_CLICKED event
> when clicked; I haven't looked at wxErlang but I am guessing that
> there is a command_togglebutton_clicked event somewhere...

Ah, guessed wrong again... for whatever reason the event is commented  
out in api_gen/wxapi.conf in the source distribution.

Uncommenting the event and regenerating the API  might give you the  
event but I'm guessing again because so far I've not been able to  
build successfully on my MacBook :(

>
>
>
>>
>> 2. This is a bit obscure and I'm not sure if it's a wxWidgets issue.
>> If
>> I place a checkbox in the first cell of a wxGridSizer the click area
>> appears over the label and not the box, which also has a white band
>> underneath it.
>
> Sorry, No idea about this one.
>
> Regards,
> John
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list