]> git.saurik.com Git - wxWidgets.git/commitdiff
Increase the number of visible OS X combo items.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 4 Oct 2013 10:46:18 +0000 (03:46 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 4 Oct 2013 10:46:18 +0000 (03:46 -0700)
src/osx/cocoa/combobox.mm

index e817c64d8c6b22fe1b51ee22df62224d526bceba..42988c277ffb4372a485ef269a6efa804c7edf1a 100644 (file)
@@ -250,6 +250,7 @@ wxWidgetImplType* wxWidgetImpl::CreateComboBox( wxComboBox* wxpeer,
     wxNSComboBox* v = [[wxNSComboBox alloc] initWithFrame:r];
     if (style & wxCB_READONLY)
         [v setEditable:NO];
+    [v setNumberOfVisibleItems:10];
     wxNSComboBoxControl* c = new wxNSComboBoxControl( wxpeer, v );
     return c;
 }