Several wxRadioBox-related improvements:

- Fix its minimum width calculation to take the title into account.
- Remove unused nor useful wxRA_LEFTTORIGHT and wxRA_TOPTOBOTTOM.
- Tidy up the radiobox page of the widgets sample.

See https://github.com/wxWidgets/wxWidgets/pull/1187
This commit is contained in:
Vadim Zeitlin
2019-01-28 01:17:34 +01:00
5 changed files with 46 additions and 105 deletions

View File

@@ -379,9 +379,8 @@ enum wxBorder
/*
* wxRadioBox style flags
* These styles are not used in any port.
*/
/* should we number the items from left to right or from top to bottom in a 2d */
/* radiobox? */
#define wxRA_LEFTTORIGHT 0x0001
#define wxRA_TOPTOBOTTOM 0x0002