wxAuiManager, bug in AddPane
Friedrich Haase
Friedrich_Haase at compuserve.com
Mon Apr 2 15:05:37 PDT 2007
THX for your quick reply.
But our assumption is wrong. The panes did get names. And the debugger shows
them correctly.
Any better idea?
I can't believe the pane and window names should be different when not
required.
Friedrich Haase
----- Original Message -----
From: "Robin Dunn" <robin at alldunn.com>
To: <wx-users at lists.wxwidgets.org>
Sent: Monday, April 02, 2007 11:52 PM
Subject: Re: wxAuiManager, bug in AddPane
>
> 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!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
More information about the wx-users
mailing list