- button = wx.RadioButton(self.printMaterialPanel, -1, material.name,
+ button = wx.RadioButton(self.printMaterialPanel, -1, material.name.replace('&', '&&'),
style=wx.RB_GROUP if len(self._print_material_options) == 0 else 0)
button.profile = material
self._print_material_options.append(button)
style=wx.RB_GROUP if len(self._print_material_options) == 0 else 0)
button.profile = material
self._print_material_options.append(button)
- button = wx.RadioButton(self.printTypePanel, -1, print_profile.name,
+ button = wx.RadioButton(self.printTypePanel, -1, print_profile.name.replace('&', '&&'),
style=wx.RB_GROUP if len(self._print_profile_options) == 0 else 0)
button.profile = print_profile
self._print_profile_options.append(button)
style=wx.RB_GROUP if len(self._print_profile_options) == 0 else 0)
button.profile = print_profile
self._print_profile_options.append(button)
- button = wx.CheckBox(self, -1, option.name)
+ button = wx.CheckBox(self, -1, option.name.replace('&', '&&'))