// wxRadioBox
// ---------------------------------------------------------------------------
+int wxRadioBox::GetCount() const
+{
+ return m_noItems;
+}
+
+int wxRadioBox::GetColumnCount() const
+{
+ return GetNumHor();
+}
+
+int wxRadioBox::GetRowCount() const
+{
+ return GetNumVer();
+}
+
int wxRadioBox::GetNumVer() const
{
if ( m_windowStyle & wxRA_SPECIFY_ROWS )
}
+void wxRadioBox::SetString(int item, const wxString& label)
+{
+ wxCHECK_RET( item >= 0 && item < m_noItems, wxT("invalid radiobox index") );
+
+ m_radioWidth[item] = m_radioHeight[item] = -1;
+ ::WinSetWindowText((HWND)m_radioButtons[item], label.c_str());
+}
+
wxString wxRadioBox::GetLabel(int item) const
{
wxCHECK_MSG( item >= 0 && item < m_noItems, wxT(""), wxT("invalid radiobox index") );