Kirix Support Forums

Un-maximize buggie in wxWidgets 2.8.10 wxAUI

Please post any wxAUI patches or modifications you've created here. Thanks!

Un-maximize buggie in wxWidgets 2.8.10 wxAUI

Postby vlk on Tue Feb 08, 2011 4:27 am

When subwindow is maximized and then de-maximized, all hidden && floating subwindows are showed.
In case nobody reported this, you may simply correct in wxAuiManager::RestorePane(...) (in framemanager.cpp):

change:
Code: Select all
    for (i = 0, pane_count = m_panes.GetCount(); i < pane_count; ++i)
    {
        wxAuiPaneInfo& p = m_panes.Item(i);
        if (!p.IsToolbar())
   ...


to:
Code: Select all
    for (i = 0, pane_count = m_panes.GetCount(); i < pane_count; ++i)
    {
        wxAuiPaneInfo& p = m_panes.Item(i);
        if (!p.IsToolbar() && !p.IsFloating())
   ...
vlk
Registered User
 
Posts: 1
Joined: Tue Feb 08, 2011 4:04 am

Re: Un-maximize buggie in wxWidgets 2.8.10 wxAUI

Postby jojosoto on Fri Mar 25, 2011 12:42 pm

much appreciated, thank you
jojosoto
Registered User
 
Posts: 6
Joined: Fri Mar 25, 2011 12:39 pm

Return to wxAUI Patches & Modifications