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
This commit is contained in:
Robert Roebling 2009-01-30 09:44:50 +00:00
parent a20a357d92
commit 04443021bc
2 changed files with 2 additions and 2 deletions

View File

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

View File

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