Init();
- (void)Create(parent, id, title, pos, size, chs.GetCount(),
+ (void)Create(parent, id, title, pos, size, chs.GetCount(),
chs.GetStrings(), majorDim, style, val, name);
}
{
wxCArrayString chs(choices);
- return Create(parent, id, title, pos, size, chs.GetCount(),
+ return Create(parent, id, title, pos, size, chs.GetCount(),
chs.GetStrings(), majorDim, style, val, name);
}
wxString wxRadioBox::GetString(int n) const
{
- wxCHECK_MSG( IsValid(n), _T(""),
+ wxCHECK_MSG( IsValid(n), wxEmptyString,
_T("invalid index in wxRadioBox::GetString") );
return m_buttons[n]->GetLabel();
wxSize sizeBtn = GetMaxButtonSize();
wxPoint ptOrigin = GetBoxAreaOrigin();
- wxPoint clientOrigin = GetParent() ? GetParent()->GetClientAreaOrigin() : wxPoint(0,0);
+ wxPoint clientOrigin = GetParent() ? GetParent()->GetClientAreaOrigin() : wxPoint();
x0 += ptOrigin.x + BOX_BORDER_X - clientOrigin.x;
y0 += ptOrigin.y + BOX_BORDER_Y - clientOrigin.y;