replaced all int/size_t indices in wxControlWithItems API with unsigned int (committing on behalf of ABX)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-03-23 22:05:23 +00:00
parent 5aa67d6619
commit aa61d35253
112 changed files with 1367 additions and 1414 deletions

View File

@@ -206,8 +206,8 @@ bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title,
SetMajorDim(majorDim == 0 ? n : majorDim, style);
int num_of_cols = GetColumnCount();
int num_of_rows = GetRowCount();
unsigned int num_of_cols = GetColumnCount();
unsigned int num_of_rows = GetRowCount();
GtkRadioButton *m_radio = (GtkRadioButton*) NULL;
@@ -290,7 +290,7 @@ wxRadioBox::~wxRadioBox()
}
}
bool wxRadioBox::Show( bool show )
bool wxRadioBox::Show(bool show)
{
wxCHECK_MSG( m_widget != NULL, false, wxT("invalid radiobox") );
@@ -375,7 +375,7 @@ int wxRadioBox::GetSelection(void) const
return wxNOT_FOUND;
}
wxString wxRadioBox::GetString( int n ) const
wxString wxRadioBox::GetString(unsigned int n) const
{
wxCHECK_MSG( m_widget != NULL, wxEmptyString, wxT("invalid radiobox") );
@@ -397,7 +397,7 @@ void wxRadioBox::SetLabel( const wxString& label )
GTKSetLabelForFrame(GTK_FRAME(m_widget), label);
}
void wxRadioBox::SetString( int item, const wxString& label )
void wxRadioBox::SetString(unsigned int item, const wxString& label)
{
wxCHECK_RET( m_widget != NULL, wxT("invalid radiobox") );
@@ -429,7 +429,7 @@ bool wxRadioBox::Enable( bool enable )
return true;
}
bool wxRadioBox::Enable( int item, bool enable )
bool wxRadioBox::Enable(unsigned int item, bool enable)
{
wxCHECK_MSG( m_widget != NULL, false, wxT("invalid radiobox") );
@@ -446,7 +446,7 @@ bool wxRadioBox::Enable( int item, bool enable )
return true;
}
bool wxRadioBox::IsItemEnabled(int item) const
bool wxRadioBox::IsItemEnabled(unsigned int item) const
{
wxCHECK_MSG( m_widget != NULL, false, wxT("invalid radiobox") );
@@ -461,7 +461,7 @@ bool wxRadioBox::IsItemEnabled(int item) const
return GTK_WIDGET_SENSITIVE(GTK_WIDGET(button));
}
bool wxRadioBox::Show( int item, bool show )
bool wxRadioBox::Show(unsigned int item, bool show)
{
wxCHECK_MSG( m_widget != NULL, false, wxT("invalid radiobox") );
@@ -479,7 +479,7 @@ bool wxRadioBox::Show( int item, bool show )
return true;
}
bool wxRadioBox::IsItemShown(int item) const
bool wxRadioBox::IsItemShown(unsigned int item) const
{
wxCHECK_MSG( m_widget != NULL, false, wxT("invalid radiobox") );
@@ -492,7 +492,7 @@ bool wxRadioBox::IsItemShown(int item) const
return GTK_WIDGET_VISIBLE(GTK_WIDGET(button));
}
size_t wxRadioBox::GetCount() const
unsigned int wxRadioBox::GetCount() const
{
return m_boxes.GetCount();
}