supporting NO_BORDER for Cocoa as well

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2008-09-30 19:28:06 +00:00
parent f7a094e1af
commit b15f9375cb

View File

@ -141,6 +141,12 @@ wxWidgetImplType* wxWidgetImpl::CreateTextControl( wxTextCtrl* wxpeer,
NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
wxNSTextField* v = [[wxNSTextField alloc] initWithFrame:r];
[sv addSubview:v];
if ( style & wxNO_BORDER )
{
[v setBezeled:NO];
[v setBordered:NO];
}
//[v setBezeled:NO];
//[v setEditable:NO];