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:
@@ -248,6 +248,7 @@ wxWidgetImplType* wxWidgetImpl::CreateComboBox( wxComboBox* wxpeer,
|
|||||||
{
|
{
|
||||||
NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
|
NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
|
||||||
wxNSComboBox* v = [[wxNSComboBox alloc] initWithFrame:r];
|
wxNSComboBox* v = [[wxNSComboBox alloc] initWithFrame:r];
|
||||||
|
[v setNumberOfVisibleItems:13];
|
||||||
if (style & wxCB_READONLY)
|
if (style & wxCB_READONLY)
|
||||||
[v setEditable:NO];
|
[v setEditable:NO];
|
||||||
wxNSComboBoxControl* c = new wxNSComboBoxControl( wxpeer, v );
|
wxNSComboBoxControl* c = new wxNSComboBoxControl( wxpeer, v );
|
||||||
|
Reference in New Issue
Block a user