Ticket #69 (closed defect)

Opened 8 years ago

Last modified 8 years ago

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

Changed 8 years ago by vadz

This bug has been fixed in the current version of wxWindows,
please upgrade to it and reopen the bug report if the bug
doesn't disappear. Thank you.

Note: See TracTickets for help on using tickets.