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()
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()