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 );