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:
Stefan Csomor 2013-10-15 20:00:56 +00:00
parent 3d26181963
commit 68e7166630

View File

@ -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 );