]> git.saurik.com Git - wxWidgets.git/commitdiff
Give wxCollapsiblePane's pane a name for easier debugging
authorRobert Roebling <robert@roebling.de>
Fri, 30 Jan 2009 09:44:50 +0000 (09:44 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 30 Jan 2009 09:44:50 +0000 (09:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/collpaneg.cpp
src/gtk/collpane.cpp

index 5a971e99a98408a4bf4fc9967782839743fba264..85874c573fdd6234c27edfcdca2816ecfa2b8a7e 100644 (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();
index fcbc02edfc0dfabe2fe9ca9407677991e2d957cd..804cdb4d9a2fda0ca05095b3a072f72e75d6d319 100644 (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 );