- m_text->SetSize(x-p.x, y-p.y, wText, height);
-#ifdef __WXMAC__
- m_btn->SetSize(x-p.x + wText + MARGIN, y-p.y, -1, -1);
-#else
- m_btn->SetSize(x-p.x + wText + MARGIN, y-p.y, -1, height);
-#endif
+ m_text->SetSize(x, y, wText, height);
+ m_btn->SetSize(x + wText + MARGIN, y, wxDefaultCoord, height);