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:
@@ -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
|
// 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,
|
m_pPane = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize,
|
||||||
wxTAB_TRAVERSAL|wxNO_BORDER);
|
wxTAB_TRAVERSAL|wxNO_BORDER, wxT("wxCollapsiblePanePane") );
|
||||||
|
|
||||||
// start as collapsed:
|
// start as collapsed:
|
||||||
m_pPane->Hide();
|
m_pPane->Hide();
|
||||||
|
@@ -198,7 +198,7 @@ bool wxCollapsiblePane::Create(wxWindow *parent,
|
|||||||
|
|
||||||
// this the real "pane"
|
// this the real "pane"
|
||||||
m_pPane = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize,
|
m_pPane = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize,
|
||||||
wxTAB_TRAVERSAL|wxNO_BORDER);
|
wxTAB_TRAVERSAL|wxNO_BORDER, wxT("wxCollapsiblePanePane") );
|
||||||
|
|
||||||
gtk_widget_show(m_widget);
|
gtk_widget_show(m_widget);
|
||||||
m_parent->DoAddChild( this );
|
m_parent->DoAddChild( this );
|
||||||
|
Reference in New Issue
Block a user