From 02b3b9d745cc434419b5f94c96820b8dc3bca64a Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 20 Sep 2020 19:44:16 +0200 Subject: [PATCH] Adding docs --- interface/wx/radiobut.h | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/interface/wx/radiobut.h b/interface/wx/radiobut.h index d037412e55..0257bc31ce 100644 --- a/interface/wx/radiobut.h +++ b/interface/wx/radiobut.h @@ -14,7 +14,9 @@ You can create a group of mutually-exclusive radio buttons by specifying @c wxRB_GROUP for the first in the group. The group ends when another - radio button group is created, or there are no more radio buttons. + radio button group is created, or there are no more radio buttons. You can navigate + among the items in a group with @see GetFirstInGroup(), GetPreviousInGroup(), GetNextInGroup(), GetLastInGroup() + @beginStyleTable @style{wxRB_GROUP} @@ -119,5 +121,33 @@ public: @true to check, @false to uncheck. */ virtual void SetValue(bool value); + + /** + Returns the first radio button of the @c wxRB_GROUP this instance is in. + + @see GetPreviousInGroup(), GetNextInGroup(), GetLastInGroup() + */ + wxRadioButton* GetFirstInGroup(); + + /** + Returns the last radio button of the @c wxRB_GROUP this instance is in. + + @see GetFirstInGroup(), GetPreviousInGroup(), GetNextInGroup() + */ + wxRadioButton* GetLastInGroup(); + + /** + Returns the previous radio button of the @c wxRB_GROUP this instance is in. + + @see GetFirstInGroup(), GetNextInGroup(), GetLastInGroup() + */ + wxRadioButton* GetPreviousInGroup(); + + /** + Returns the next radio button of the @c wxRB_GROUP this instance is in. + + @see GetFirstInGroup(), GetPreviousInGroup(), GetLastInGroup() + */ + wxRadioButton* GetNextInGroup(); };