KeyWorksRW / wxUiEditor

RAD tool used to create and maintain wxWidgets UI elements.
Apache License 2.0
62 stars 5 forks source link

Fix StaticRadioBtnBoxSizer for wxGTK #1439

Closed Randalphwa closed 3 months ago

Randalphwa commented 3 months ago

This PR adds the wxRB_SINGLE style to the wxRadioButton created by the StaticRadioBtnBoxSizer. The reason for this change is that wxGTK doesn't allow a radio button to be unchecked unless it's part of a group containing 2 or more buttons. If it is marked as wxRB_SINGLE then wxWidgets 3.3 will create a hidden button that becomes part of a group making it possible to deselect the button.