#19195: wxAuiManager::UpdatePane implementation
-----------------------------+--------------------
Reporter: gvcallen | Owner:
Type: optimization | Status: new
Priority: normal | Milestone:
Component: wxAui | Version: 3.1.5
Keywords: manager, update | Blocked By:
Blocking: | Patch: 0
-----------------------------+--------------------
We have found on numerous applications that we simply need to change e.g.
the caption of a specific pane, however calling wxAuiManager::Update()
ultimately redraws the entire pane configuration, thereafter redrawing all
other panes, which is a potentially time-consuming process (e.g. with a
wxTreeCtrl we have).
I would like to request for a function that updates a specific pane's
basic characteristics i.e. wxAuiManager::UpdatePane(wxAuiPaneInfo& pane).
Of course, this function would not be able to update the pane size, as
that would affect other panes too, but properties such as whether it is
floatable, has a gripper and its caption etc. could easily be changed
"locally".
I have looked the code for update and tried implementing this function
myself but am not sure where to start. I would be more than happy to
help/give it a go again but I would need a guideline as I am not 100%
comfortable with the inner-workings of the painting and drawing methods
for the manager.
Could this be implemented? Would it be possible? Is it a trivial
implementation or would it be rather detailed?
Thanks a lot,
Gary
--
Ticket URL: <
https://trac.wxwidgets.org/ticket/19195>