-#if TARGET_API_MAC_OSX
- // also, we need to shrink the size of the wxTextCtrl a bit
- // to make it appear properly on OS X.
- height -= 8;
- wText -= 8;
-#endif
- m_text->SetSize(origin, origin, wText, height);
- m_choice->SetSize(origin + wText + MARGIN, 0, POPUPWIDTH, -1);
+ m_text->SetSize(TEXTFOCUSBORDER, TEXTFOCUSBORDER, wText, -1 );
+ m_choice->SetSize(TEXTFOCUSBORDER + wText + MARGIN, TEXTFOCUSBORDER, POPUPWIDTH, -1);