X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/037c7b4c7b6c87c40f3ba966a0c3e91a402b4dfa..9859d369b49e35a1cad0f760173e165f974fb6cb:/src/gtk/collpane.cpp diff --git a/src/gtk/collpane.cpp b/src/gtk/collpane.cpp index bf6962fe7a..3ba9f7e25f 100644 --- a/src/gtk/collpane.cpp +++ b/src/gtk/collpane.cpp @@ -22,6 +22,7 @@ #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" @@ -198,7 +199,6 @@ bool wxCollapsiblePane::Create(wxWindow *parent, pos, size, style, val, name); m_needParent = true; - m_acceptsFocus = true; m_bIgnoreNextChange = false; if ( !PreCreation( parent, pos, size ) ||