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:
parent
f7a094e1af
commit
b15f9375cb
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user