self.mirrorX = buttons.GenBitmapToggleButton(self.toolbar2, -1, wx.Bitmap('Cura/images/object-mirror-x.png'), size=(20,20))\r
self.mirrorX.SetBezelWidth(1)\r
self.mirrorX.SetUseFocusIndicator(False)\r
- self.mirrorX.SetToolTip(wx.ToolTip('Mirror X'))\r
+ self.mirrorX.helpText = 'Mirror X'\r
self.mirrorX.Bind(wx.EVT_ENTER_WINDOW, self.OnPopupDisplay)\r
self.mirrorX.Bind(wx.EVT_LEAVE_WINDOW, self.OnPopupHide)\r
self.mirrorX.SetValue(profile.getProfileSetting('flip_x') == 'True')\r
self.mirrorY = buttons.GenBitmapToggleButton(self.toolbar2, -1, wx.Bitmap('Cura/images/object-mirror-y.png'), size=(20,20))\r
self.mirrorY.SetBezelWidth(1)\r
self.mirrorY.SetUseFocusIndicator(False)\r
- self.mirrorY.SetToolTip(wx.ToolTip('Mirror Y'))\r
+ self.mirrorY.helpText = 'Mirror Y'\r
self.mirrorY.Bind(wx.EVT_ENTER_WINDOW, self.OnPopupDisplay)\r
self.mirrorY.Bind(wx.EVT_LEAVE_WINDOW, self.OnPopupHide)\r
self.mirrorY.SetValue(profile.getProfileSetting('flip_y') == 'True')\r
self.mirrorZ = buttons.GenBitmapToggleButton(self.toolbar2, -1, wx.Bitmap('Cura/images/object-mirror-z.png'), size=(20,20))\r
self.mirrorZ.SetBezelWidth(1)\r
self.mirrorZ.SetUseFocusIndicator(False)\r
- self.mirrorZ.SetToolTip(wx.ToolTip('Mirror Z'))\r
+ self.mirrorZ.helpText = 'Mirror Z'\r
self.mirrorZ.Bind(wx.EVT_ENTER_WINDOW, self.OnPopupDisplay)\r
self.mirrorZ.Bind(wx.EVT_LEAVE_WINDOW, self.OnPopupHide)\r
self.mirrorZ.SetValue(profile.getProfileSetting('flip_z') == 'True')\r
self.swapXZ = buttons.GenBitmapToggleButton(self.toolbar2, -1, wx.Bitmap('Cura/images/object-swap-xz.png'), size=(20,20))\r
self.swapXZ.SetBezelWidth(1)\r
self.swapXZ.SetUseFocusIndicator(False)\r
- self.swapXZ.SetToolTip(wx.ToolTip('Swap XZ'))\r
+ self.swapXZ.helpText = 'Swap XZ'\r
self.swapXZ.Bind(wx.EVT_ENTER_WINDOW, self.OnPopupDisplay)\r
self.swapXZ.Bind(wx.EVT_LEAVE_WINDOW, self.OnPopupHide)\r
self.swapXZ.SetValue(profile.getProfileSetting('swap_xz') == 'True')\r
self.swapYZ = buttons.GenBitmapToggleButton(self.toolbar2, -1, wx.Bitmap('Cura/images/object-swap-yz.png'), size=(20,20))\r
self.swapYZ.SetBezelWidth(1)\r
self.swapYZ.SetUseFocusIndicator(False)\r
- self.swapYZ.SetToolTip(wx.ToolTip('Swap YZ'))\r
+ self.swapYZ.helpText = 'Swap YZ'\r
self.swapYZ.Bind(wx.EVT_ENTER_WINDOW, self.OnPopupDisplay)\r
self.swapYZ.Bind(wx.EVT_LEAVE_WINDOW, self.OnPopupHide)\r
self.swapYZ.SetValue(profile.getProfileSetting('swap_yz') == 'True')\r
self.popup.Show(False)\r
\r
def UpdatePopup(self, control):\r
- self.popup.text.SetLabel(control.GetToolTip().GetTip())\r
+ self.popup.text.SetLabel(control.helpText)\r
self.popup.text.Wrap(350)\r
self.popup.Fit();\r
if os.name == 'darwin':\r