X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21e0a4d5f15ea1df40d29359fc1e84085936ef3f..94e0018723919fe2ca2f5b5f0a42804c16dbf3a1:/src/palmos/radiobox.cpp diff --git a/src/palmos/radiobox.cpp b/src/palmos/radiobox.cpp index 5fea32f9bd..2b5f2ce256 100644 --- a/src/palmos/radiobox.cpp +++ b/src/palmos/radiobox.cpp @@ -26,20 +26,20 @@ #if wxUSE_RADIOBOX +#include "wx/radiobox.h" + #ifndef WX_PRECOMP #include "wx/bitmap.h" #include "wx/brush.h" - #include "wx/radiobox.h" #include "wx/settings.h" #include "wx/log.h" + #include "wx/radiobut.h" #endif #if wxUSE_TOOLTIPS #include "wx/tooltip.h" #endif // wxUSE_TOOLTIPS -#include "wx/radiobut.h" - // TODO: wxCONSTRUCTOR #if 0 // wxUSE_EXTENDED_RTTI WX_DEFINE_FLAGS( wxRadioBoxStyle ) @@ -73,10 +73,7 @@ wxBEGIN_FLAGS( wxRadioBoxStyle ) wxFLAGS_MEMBER(wxHSCROLL) wxFLAGS_MEMBER(wxRA_SPECIFY_COLS) - wxFLAGS_MEMBER(wxRA_HORIZONTAL) wxFLAGS_MEMBER(wxRA_SPECIFY_ROWS) - wxFLAGS_MEMBER(wxRA_VERTICAL) - wxEND_FLAGS( wxRadioBoxStyle ) IMPLEMENT_DYNAMIC_CLASS_XTI(wxRadioBox, wxControl,"wx/radiobox.h") @@ -112,7 +109,7 @@ void wxRadioBox::Init() m_size = wxSize(0,0); } -int wxRadioBox::GetCount() const +unsigned int wxRadioBox::GetCount() const { return m_radios.GetCount(); } @@ -160,9 +157,9 @@ bool wxRadioBox::Create(wxWindow *parent, return false; int i = 0; - for ( int j = 0; j < minor; j++ ) + for ( unsigned int j = 0; j < minor; j++ ) { - for ( int k = 0; k < GetMajorDim(); k++ ) + for ( unsigned int k = 0; k < GetMajorDim(); k++ ) { if(i 0) minor++; - int i = 0; - for ( int j = 0; j < minor; j++ ) + unsigned int i = 0; + for ( unsigned int j = 0; j < minor; j++ ) { - for ( int k = 0; k < GetMajorDim(); k++ ) + for ( unsigned int k = 0; k < GetMajorDim(); k++ ) { if(i