adjusting the visible items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3d26181963
commit
68e7166630
@ -248,6 +248,7 @@ wxWidgetImplType* wxWidgetImpl::CreateComboBox( wxComboBox* wxpeer,
|
||||
{
|
||||
NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
|
||||
wxNSComboBox* v = [[wxNSComboBox alloc] initWithFrame:r];
|
||||
[v setNumberOfVisibleItems:13];
|
||||
if (style & wxCB_READONLY)
|
||||
[v setEditable:NO];
|
||||
wxNSComboBoxControl* c = new wxNSComboBoxControl( wxpeer, v );
|
||||
|
Loading…
Reference in New Issue
Block a user