From: Robert Roebling Date: Fri, 30 Jan 2009 09:44:50 +0000 (+0000) Subject: Give wxCollapsiblePane's pane a name for easier debugging X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/04443021bcfd4a86b6bb660feeca0928139448ce Give wxCollapsiblePane's pane a name for easier debugging git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/collpaneg.cpp b/src/generic/collpaneg.cpp index 5a971e99a9..85874c573f 100644 --- a/src/generic/collpaneg.cpp +++ b/src/generic/collpaneg.cpp @@ -112,7 +112,7 @@ bool wxGenericCollapsiblePane::Create(wxWindow *parent, // do not set sz as our sizers since we handle the pane window without using sizers m_pPane = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, - wxTAB_TRAVERSAL|wxNO_BORDER); + wxTAB_TRAVERSAL|wxNO_BORDER, wxT("wxCollapsiblePanePane") ); // start as collapsed: m_pPane->Hide(); diff --git a/src/gtk/collpane.cpp b/src/gtk/collpane.cpp index fcbc02edfc..804cdb4d9a 100644 --- a/src/gtk/collpane.cpp +++ b/src/gtk/collpane.cpp @@ -198,7 +198,7 @@ bool wxCollapsiblePane::Create(wxWindow *parent, // this the real "pane" m_pPane = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, - wxTAB_TRAVERSAL|wxNO_BORDER); + wxTAB_TRAVERSAL|wxNO_BORDER, wxT("wxCollapsiblePanePane") ); gtk_widget_show(m_widget); m_parent->DoAddChild( this );