wxAuiManager, bug in AddPane

Robin Dunn robin at alldunn.com
Mon Apr 2 14:52:19 PDT 2007


Friedrich Haase wrote:
> Moin all,
> 
> I think there is a bug in wxAuiManager.
> 
> Symptome:
> wxAuiPaneInfo& GetPane(wxWindow* window)
> 
> wxAuiPaneInfo& GetPane(const wxString& name)
> 
> behave different. The first function will find the window as expected. 
> But the second function using the window name will not.

It's not the window name, but the name of the pane that is being 
searched for.  This is by design.  If you want to use GetPane(name) then 
you should give names to your panes.



-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-users mailing list