Fix TAB navigation inside wxStaticBox in wxOSX
Derive wxStaticBox from wxStaticBoxBase for consistency with the other ports and to make it derive from wxNavigationEnabled<>, which is necessary for TAB navigation to work. Closes #3842.
This commit is contained in:
@@ -11,10 +11,7 @@
|
||||
#ifndef _WX_STATBOX_H_
|
||||
#define _WX_STATBOX_H_
|
||||
|
||||
#include "wx/control.h"
|
||||
|
||||
// Group box
|
||||
class WXDLLIMPEXP_CORE wxStaticBox: public wxControl
|
||||
class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
|
||||
{
|
||||
wxDECLARE_DYNAMIC_CLASS(wxStaticBox);
|
||||
|
||||
|
Reference in New Issue
Block a user