Ticket #69 (closed defect)
wxRadioBox is oriented differently on wxGTK & wxMSW
| Reported by: | briangavin | Owned by: | vadz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Version: | ||
| Keywords: | Cc: | briangavin, vadz | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
The following code will generate a horizontal radio box on wxMSWv2.2.1 and a vertical radio box on wxGTKv2.2.2. This causes sizing and appearance problems.
wxString jcount[] =
{
"1","2","3","4","5","6"
};
wxRadioBox *radio =new wxRadioBox(parent, JOB_COUNT,"Number of Jobs",wxDefaultPosition,wxDefaultSize,6,jcount);
if I change the wxRadioBox Constructor to the following it works fine.
wxRadioBox *radio =new wxRadioBox(parent, JOB_COUNT,"Number of Jobs",wxDefaultPosition, wxDefaultSize, 6, jcount,1,wxRA_SPECIFY_ROWS);
Brian Gavin
Change History
Note: See
TracTickets for help on using
tickets.
