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_
|
#ifndef _WX_STATBOX_H_
|
||||||
#define _WX_STATBOX_H_
|
#define _WX_STATBOX_H_
|
||||||
|
|
||||||
#include "wx/control.h"
|
class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
|
||||||
|
|
||||||
// Group box
|
|
||||||
class WXDLLIMPEXP_CORE wxStaticBox: public wxControl
|
|
||||||
{
|
{
|
||||||
wxDECLARE_DYNAMIC_CLASS(wxStaticBox);
|
wxDECLARE_DYNAMIC_CLASS(wxStaticBox);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user