X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ccf004304dd6588e8d31ba4d29908477a6bf6ab..b45ab2904c3af8c8e96943bbd1b7643f9d5fbde1:/src/gtk/collpane.cpp diff --git a/src/gtk/collpane.cpp b/src/gtk/collpane.cpp index 229a4759b1..93b0be56e1 100644 --- a/src/gtk/collpane.cpp +++ b/src/gtk/collpane.cpp @@ -22,14 +22,13 @@ #include "wx/collpane.h" #include "wx/toplevel.h" #include "wx/sizer.h" +#include "wx/panel.h" #include "wx/gtk/private.h" #include "wx/gtk/win_gtk.h" #include -const wxChar wxCollapsiblePaneNameStr[] = wxT("CollapsiblePane"); - // ============================================================================ // implementation // ============================================================================ @@ -224,8 +223,8 @@ bool wxCollapsiblePane::Create(wxWindow *parent, m_insertCallback = gtk_collapsiblepane_insert_callback; // this the real "pane" - m_pPane = new wxWindow(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, - wxNO_BORDER); + m_pPane = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, + wxTAB_TRAVERSAL|wxNO_BORDER); gtk_widget_show( GTK_WIDGET(m_widget) ); m_parent->DoAddChild( this );