Further improvements in composite controls (wxRadioBox) on PalmOS.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-02-24 10:51:11 +00:00
parent acb1070b08
commit d289329218
3 changed files with 26 additions and 8 deletions

View File

@@ -254,6 +254,8 @@ void wxRadioBox::DoMoveWindow(int x, int y, int width, int height)
{
wxRect oldRect = GetRect();
m_pos.x = x;
m_pos.y = y;
m_size.x = width;
m_size.y = height;
@@ -292,7 +294,7 @@ void wxRadioBox::DoMoveWindow(int x, int y, int width, int height)
// get the origin of the client area in the client coordinates
wxPoint wxRadioBox::GetClientAreaOrigin() const
{
return GetParent()->GetClientAreaOrigin() + GetPosition();
return GetPosition();
}
void wxRadioBox::SetString(int item, const wxString& label)