]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/radiobox.cpp
gcc 3.3 for ppc and gcc 4.0 static and dynamic builds 10.3 minimum
[wxWidgets.git] / src / univ / radiobox.cpp
index 9b45f783513e5596c824a19b9ee850505804a2dd..e4038b1a0d7d8511bb1be0e1da8a3b3cc3d08b4d 100644 (file)
@@ -304,6 +304,13 @@ bool wxRadioBox::Enable(int n, bool enable)
     return m_buttons[n]->Enable(enable);
 }
 
+bool wxRadioBox::IsItemEnabled(int n) const
+{
+    wxCHECK_MSG( IsValid(n), false, _T("invalid index in wxRadioBox::IsItemEnabled") );
+
+    return m_buttons[n]->IsEnabled();
+}
+
 bool wxRadioBox::Show(int n, bool show)
 {
     wxCHECK_MSG( IsValid(n), false, _T("invalid index in wxRadioBox::Show") );
@@ -311,6 +318,13 @@ bool wxRadioBox::Show(int n, bool show)
     return m_buttons[n]->Show(show);
 }
 
+bool wxRadioBox::IsItemShown(int n) const
+{
+    wxCHECK_MSG( IsValid(n), false, _T("invalid index in wxRadioBox::IsItemShown") );
+
+    return m_buttons[n]->IsShown();
+}
+
 // ----------------------------------------------------------------------------
 // methods forwarded to the static box
 // ----------------------------------------------------------------------------