X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21e0a4d5f15ea1df40d29359fc1e84085936ef3f..f37c35d717a6a092b91eb5ae07342a9c62c78477:/src/palmos/radiobox.cpp?ds=sidebyside diff --git a/src/palmos/radiobox.cpp b/src/palmos/radiobox.cpp index 5fea32f9bd..03b015e38c 100644 --- a/src/palmos/radiobox.cpp +++ b/src/palmos/radiobox.cpp @@ -112,7 +112,7 @@ void wxRadioBox::Init() m_size = wxSize(0,0); } -int wxRadioBox::GetCount() const +size_t wxRadioBox::GetCount() const { return m_radios.GetCount(); } @@ -238,12 +238,12 @@ void wxRadioBox::DoMoveWindow(int x, int y, int width, int height) const bool use_cols = HasFlag(wxRA_SPECIFY_COLS); - const int n = GetCount(); - int minor = n / GetMajorDim(); + const size_t n = GetCount(); + size_t minor = n / GetMajorDim(); if(n % GetMajorDim() > 0) minor++; - int i = 0; + size_t i = 0; for ( int j = 0; j < minor; j++ ) { for ( int k = 0; k < GetMajorDim(); k++ ) @@ -327,8 +327,8 @@ void wxRadioBox::SetFocus() // Enable all subcontrols bool wxRadioBox::Enable(bool enable) { - for(int i=0; i