#14995 closed defect (fixed)

Double clicking on wxAuiNotebook tabbar background doesn't create the tab at the good location

Reported by: R.U.10 Owned by: vadz
Priority: normal Milestone: 2.9.5
Component: wxAui Version: stable-latest
Keywords: wxAuiNotebook double click wxAuiTabCtrl Cc:
Blocked By: Blocking:
Patch: yes

Description

With the joined patch, when double clicking on the tabbar background of a tiled wxAuiNotebook, a call to AddPage() will create the new tab in the wxAuiTabCtrl on which the user has double clicked and not near the last selected tab (which can potentially be placed on an other wxAuiTabCtrl).

Attachments (1)

auibook.cpp.patch download (894 bytes) - added by R.U.10 15 months ago.
OnTabBgDClick correction

Download all attachments as: .zip

Change History (3)

Changed 15 months ago by R.U.10

OnTabBgDClick correction

comment:1 Changed 15 months ago by vadz

  • Owner set to vadz
  • Status changed from new to accepted

I actually don't know how to test this exactly but I'll apply it, please let me know if anybody finds a problem with this.

comment:2 Changed 15 months ago by VZ

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [73490]) Create new tab at the correct location in wxAuiNotebook.

Create the new tab in wxAuiTabCtrl that was double clicked and not near the
last selected tab which could have been in another wxAuiTabCtrl.

Closes #14995.

Note: See TracTickets for help on using tickets.