@Htbaa, I think I've fixed the radio button problem, if you want to give it a go.
The changes are currently in the maxmods SVN.
I note also that when SetButtonState is called an event is raised, which probably shouldn't happen.
Looking at the wxWidgets code, I see that they disable "clicked" events on all buttons belonging to the group, for the duration of the call the change state. I imagine I'll have to do something similar at some point.
...which means I'll need to track radio buttons for the parent in order to somehow disconnect the events, and reconnect them afterwards... oh Well :-p
The changes are currently in the maxmods SVN.
I note also that when SetButtonState is called an event is raised, which probably shouldn't happen.
Looking at the wxWidgets code, I see that they disable "clicked" events on all buttons belonging to the group, for the duration of the call the change state. I imagine I'll have to do something similar at some point.
...which means I'll need to track radio buttons for the parent in order to somehow disconnect the events, and reconnect them afterwards... oh Well :-p