I have found several problems with differences between wxwidgets on win2K and linux. Below are some of the problems found.
running the attached file under windows works just fine, lines 50 and 69 (self.bind) do not cause errors.
You probably have a 2.4.x version of wxPython installed on Linux and a 2.5.x version on Windows. Upgrade your Linux version.
and the radio buttons appear in the correct places based on their names (Upper Left, Upper Center, ...etc).
The native widgets used for wxRadioBox populate the box in different ways. Windows does left-to-right, top-to-bottom, and GTK does top-to-bottom, left-to-right. I'm afraid that if the layout order is important then the only ways around this are to either adjust your label orders as needed based on current platform, or to make your own radio group using somthing like a collection of wx.RadioButtons in a wx.StaticBoxSizer.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I have found several problems with differences between wxwidgets on win2K and linux. Below are some of the problems found.
running the attached file under windows works just fine, lines 50 and 69 (self.bind) do not cause errors.
You probably have a 2.4.x version of wxPython installed on Linux and a 2.5.x version on Windows. Upgrade your Linux version.
As far as I can tell, I have identical versions.
and the radio buttons appear in the correct places based on their names (Upper Left, Upper Center, ...etc).
The native widgets used for wxRadioBox populate the box in different ways. Windows does left-to-right, top-to-bottom, and GTK does top-to-bottom, left-to-right. I'm afraid that if the layout order is important then the only ways around this are to either adjust your label orders as needed based on current platform, or to make your own radio group using somthing like a collection of wx.RadioButtons in a wx.StaticBoxSizer.
OK, this might be something to add to the docs.
···
On 01/03/05 21:08:58, Robin Dunn wrote:
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!