diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-29 04:41:07 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-29 04:41:07 -0400 |
| commit | 4045d50f946431408896a7b1512397c905e4bdb5 (patch) | |
| tree | 06598618cccc9b0b680016b41c6648f19db32f4c /combobox_darwin.m | |
| parent | 4baa9397e6546e78e07b24bb8bbab785417e0378 (diff) | |
Checked to see if the previous commit worked after removing the leftover Combobox selectIndex() code; it does. Removed the dummy code from the Windows and GTK+ backends as well.
Diffstat (limited to 'combobox_darwin.m')
| -rw-r--r-- | combobox_darwin.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/combobox_darwin.m b/combobox_darwin.m index 5c88b07..b84b948 100644 --- a/combobox_darwin.m +++ b/combobox_darwin.m @@ -54,7 +54,7 @@ id makeCombobox(BOOL editable) #define BIND bind:comboboxBinding toObject:ac withKeyPath:comboboxKeyPath options:nil // for NSPopUpButton, we need a little extra work to make it respect the NSArrayController's selection behavior properties // thanks to stevesliva (http://stackoverflow.com/questions/23715275/cocoa-how-do-i-suppress-nspopupbutton-automatic-selection-synchronization-nsar) -// TODO where in the docs does it say that NSArrayController has a keyPath of selectionIndex? it's not in the Cocoa Bindings Reference +// note: selectionIndex isn't listed in the Cocoa Bindings Reference for NSArrayController under exposed bindings, but is in the Cocoa Bindings Programming Topics under key-value observant properties, so we can still bind to it #define BINDSEL bind:@"selectedIndex" toObject:ac withKeyPath:@"selectionIndex" options:nil if (!editable) { |
