Don't compile wxGetSelectedButtonInGroup() if it's unused
Now that this function is static, not using it results in warnings when building the ports not using it (e.g. wxX11).
This commit is contained in:
@@ -237,7 +237,7 @@ void wxControlContainer::SetLastFocus(wxWindow *win)
|
|||||||
// The following functions is used by wxSetFocusToChild()
|
// The following functions is used by wxSetFocusToChild()
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
|
|
||||||
#if wxUSE_RADIOBTN
|
#if defined(USE_RADIOBTN_NAV)
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
@@ -268,7 +268,7 @@ wxRadioButton* wxGetSelectedButtonInGroup(const wxRadioButton *btn)
|
|||||||
|
|
||||||
} // anonymous namespace
|
} // anonymous namespace
|
||||||
|
|
||||||
#endif // wxUSE_RADIOBTN
|
#endif // USE_RADIOBTN_NAV
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Keyboard handling - this is the place where the TAB traversal logic is
|
// Keyboard handling - this is the place where the TAB traversal logic is
|
||||||
|
Reference in New Issue
Block a user