// Modified by:
// Created:
// Copyright: (c) Julian Smart
-// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if wxUSE_STATBOX
#include "wx/control.h"
+#include "wx/containr.h"
extern WXDLLIMPEXP_DATA_CORE(const char) wxStaticBoxNameStr[];
// wxStaticBox: a grouping box with a label
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxStaticBoxBase : public wxControl
+class WXDLLIMPEXP_CORE wxStaticBoxBase : public wxNavigationEnabled<wxControl>
{
public:
- wxStaticBoxBase() { }
+ wxStaticBoxBase() { m_container.DisableSelfFocus(); }
- // overriden base class virtuals
- virtual bool AcceptsFocus() const { return false; }
+ // overridden base class virtuals
virtual bool HasTransparentBackground() { return true; }
// implementation only: this is used by wxStaticBoxSizer to account for the