def _detach(self, event):
     # print("DEBUG: PopupWindow at detached call")
     self.hide()
     dlg = HtmlDialog(self._detached_title, self._current_details)
     dlg.SetPosition((wx.GetMouseState().x, wx.GetMouseState().y))
     dlg.Show()
     event.Skip()
Example #2
0
 def _detach(self, event):
     self.hide()
     dlg = HtmlDialog(self._detached_title, self._current_details)
     dlg.SetPosition((wx.GetMouseState().x, wx.GetMouseState().y))
     dlg.Show()
     if IS_WINDOWS:
         event.Skip()