+
+ if ( (style & wxNO_BORDER) || (style & wxSIMPLE_BORDER) )
+ {
+ // under 10.7 the textcontrol can draw its own focus
+ // even if no border is shown, on previous systems
+ // we have to emulate this
+ [v setBezeled:NO];
+ [v setBordered:NO];
+ if ( UMAGetSystemVersion() < 0x1070 )
+ c->SetNeedsFocusRect( true );
+ }
+ else
+ {
+ // use native border
+ c->SetNeedsFrame(false);
+ }