Compile radio button group navigation functions on all platforms
Previously they were only used, and compiled, on the platforms without wxHAS_NATIVE_TAB_TRAVERSAL, i.e. were not compiled at all in wxGTK, but we now need them everywhere as they're used to implement public API.
This commit is contained in:
@@ -233,9 +233,12 @@ void wxControlContainer::SetLastFocus(wxWindow *win)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // !wxHAS_NATIVE_TAB_TRAVERSAL
|
||||||
|
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
// The following four functions are used to find other radio buttons
|
// The following four functions are used to find other radio buttons
|
||||||
// within the same group. Used by wxSetFocusToChild
|
// within the same group. Used by wxSetFocusToChild() and to implement
|
||||||
|
// wxRadioButtonBase public API.
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
|
|
||||||
#if wxUSE_RADIOBTN
|
#if wxUSE_RADIOBTN
|
||||||
@@ -357,6 +360,8 @@ using namespace wxPrivate;
|
|||||||
|
|
||||||
#endif // wxUSE_RADIOBTN
|
#endif // wxUSE_RADIOBTN
|
||||||
|
|
||||||
|
#ifndef wxHAS_NATIVE_TAB_TRAVERSAL
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Keyboard handling - this is the place where the TAB traversal logic is
|
// Keyboard handling - this is the place where the TAB traversal logic is
|
||||||
// implemented. As this code is common to all ports, this ensures consistent
|
// implemented. As this code is common to all ports, this ensures consistent
|
||||||
|
Reference in New Issue
Block a user